|  | @@ -105,9 +105,11 @@ public class FaultController extends BaseController {
 | 
											
												
													
														|  |       * 查询故障列表
 |  |       * 查询故障列表
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  |      // @PreAuthorize("@ss.hasPermi('sim:fault:list')")
 |  |      // @PreAuthorize("@ss.hasPermi('sim:fault:list')")
 | 
											
												
													
														|  | -    @GetMapping("/listAllTree")
 |  | 
 | 
											
												
													
														|  | -    @ApiOperation("查询故障列表")
 |  | 
 | 
											
												
													
														|  | -    public TableDataInfo listAllTree(Fault fault) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    @GetMapping("/listAllTreeViaSimType/{simType}")
 | 
											
												
													
														|  | 
 |  | +    @ApiOperation("通过模拟器类型,查询故障列表")
 | 
											
												
													
														|  | 
 |  | +    public TableDataInfo listAllTreeViaSimType(@PathVariable(value = "simType") String simType) {
 | 
											
												
													
														|  | 
 |  | +        Fault fault =new Fault();
 | 
											
												
													
														|  | 
 |  | +        fault.setSimType(simType);
 | 
											
												
													
														|  |          List<FaultNode> list = faultService.selectFaultListAllTree(fault);
 |  |          List<FaultNode> list = faultService.selectFaultListAllTree(fault);
 | 
											
												
													
														|  |          return getDataTable(list);
 |  |          return getDataTable(list);
 | 
											
												
													
														|  |      }
 |  |      }
 |