| 
					
				 | 
			
			
				@@ -17,7 +17,6 @@ import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.time.format.DateTimeFormatter; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.ArrayList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.stream.Collectors; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * <p> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -51,6 +50,7 @@ public class PatrolInspectionRecordServiceImpl extends AbstractCrudService<Patro 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private PlanSiteSonService planSiteSonService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public CommonPage<PatrolInspectionRecord> patrolInspectionRecordLsit(String areaName, String siteName, String name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                                          Integer planType, String startDateTime, String endDateTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                                          Integer pageNum, Integer pageSize) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,7 +84,7 @@ public class PatrolInspectionRecordServiceImpl extends AbstractCrudService<Patro 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         queryWrapper.orderByDesc(PatrolInspectionRecord::getId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (pageNum != null && pageNum != 0 && pageSize != null && pageSize != 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Integer startFate = OnlineMethod.getStartFate(pageNum, pageSize); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            queryWrapper.last("limit " + startFate + ","+pageSize); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            queryWrapper.last("limit " + startFate + "," + pageSize); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<PatrolInspectionRecord> patrolInspectionRecordList = this.list(queryWrapper); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -98,6 +98,7 @@ public class PatrolInspectionRecordServiceImpl extends AbstractCrudService<Patro 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //        queryWrapper.eq(PatrolInspectionRecord::getTenantId, SecurityUtils.getTenantId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public List<PatrolInspectionRecordVo> patrolInspectionRecordDetails(Integer id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //记录查询 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         LambdaQueryWrapper<PatrolInspectionRecord> queryWrapper = Wrappers.lambdaQuery(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -313,8 +314,8 @@ public class PatrolInspectionRecordServiceImpl extends AbstractCrudService<Patro 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public List<PatrolInspectionRecordExportVo> recordLsitExport(String areaName, String siteName, String name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                                               Integer planType, String startDateTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                                               String endDateTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                                 Integer planType, String startDateTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                                 String endDateTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         LoginUser loginUser = SecurityUtils.getLoginUser(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String userType = null; 
			 |