|  | @@ -1,8 +1,6 @@
 | 
											
												
													
														|  |  package com.ruoyi.sim.service.impl;
 |  |  package com.ruoyi.sim.service.impl;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -import java.util.ArrayList;
 |  | 
 | 
											
												
													
														|  | -import java.util.List;
 |  | 
 | 
											
												
													
														|  | -import java.util.Objects;
 |  | 
 | 
											
												
													
														|  | 
 |  | +import java.util.*;
 | 
											
												
													
														|  |  import java.util.stream.Collectors;
 |  |  import java.util.stream.Collectors;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import com.ruoyi.common.utils.DateUtils;
 |  |  import com.ruoyi.common.utils.DateUtils;
 | 
											
										
											
												
													
														|  | @@ -129,6 +127,19 @@ public class FaultServiceImpl implements IFaultService {
 | 
											
												
													
														|  |          return tree;
 |  |          return tree;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +    /**
 | 
											
												
													
														|  | 
 |  | +     *
 | 
											
												
													
														|  | 
 |  | +     * @param simType
 | 
											
												
													
														|  | 
 |  | +     * @return
 | 
											
												
													
														|  | 
 |  | +     */
 | 
											
												
													
														|  | 
 |  | +    public boolean checkSimType(String simType) {
 | 
											
												
													
														|  | 
 |  | +        Set<String> s = new HashSet<>();
 | 
											
												
													
														|  | 
 |  | +        s.add("0001");
 | 
											
												
													
														|  | 
 |  | +        s.add("0002");
 | 
											
												
													
														|  | 
 |  | +        s.add("0003");
 | 
											
												
													
														|  | 
 |  | +        return s.contains(simType);
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      private static String ROOT_FAULT_ID = "000000000000";
 |  |      private static String ROOT_FAULT_ID = "000000000000";
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  //    private static List<FaultNode> toTree2(List<FaultNode> list) {
 |  |  //    private static List<FaultNode> toTree2(List<FaultNode> list) {
 |