|  | @@ -2,6 +2,7 @@ package com.ruoyi.sim.service.impl;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import com.ruoyi.common.core.domain.AjaxResult;
 | 
	
		
			
				|  |  |  import com.ruoyi.common.utils.DateUtils;
 | 
	
		
			
				|  |  |  import com.ruoyi.sim.domain.Fault;
 | 
	
		
			
				|  |  |  import com.ruoyi.sim.domain.vo.FaultTree;
 | 
	
	
		
			
				|  | @@ -109,11 +110,10 @@ public class TaskServiceImpl implements ITaskService {
 | 
	
		
			
				|  |  |          // fa 构建用于查询的对象。
 | 
	
		
			
				|  |  |          Fault fa = new Fault();
 | 
	
		
			
				|  |  |          fa.setSimType(simType);
 | 
	
		
			
				|  |  | -        // todo:
 | 
	
		
			
				|  |  | -        // List<FaultTree> ftList = faultService.listAllTreeViaSimType(fa);
 | 
	
		
			
				|  |  | +        AjaxResult ar = faultService.listAllTreeViaSimType(simType);
 | 
	
		
			
				|  |  | +        List<FaultTree> ftList = (List<FaultTree>) ar.get(AjaxResult.DATA_TAG);
 | 
	
		
			
				|  |  |          t.setTaskId(Task.EMPTY_TASK_ID);
 | 
	
		
			
				|  |  | -        // todo:
 | 
	
		
			
				|  |  | -        // t.setFaultTreeList(ftList);
 | 
	
		
			
				|  |  | +        t.setFaultTreeList(ftList);
 | 
	
		
			
				|  |  |          return t;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |