| 
						
						
							
								
							
						
						
					 | 
					@ -35,7 +35,6 @@ import com.epmet.opendata.entity.BaseGridDailyworkEntity; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.opendata.service.BaseGridDailyworkService; | 
					 | 
					 | 
					import com.epmet.opendata.service.BaseGridDailyworkService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.opendata.service.ExDeptService; | 
					 | 
					 | 
					import com.epmet.opendata.service.ExDeptService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.opendata.service.ExUserService; | 
					 | 
					 | 
					import com.epmet.opendata.service.ExUserService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.opendata.service.UserPatrolDetailService; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import lombok.extern.slf4j.Slf4j; | 
					 | 
					 | 
					import lombok.extern.slf4j.Slf4j; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.jetbrains.annotations.NotNull; | 
					 | 
					 | 
					import org.jetbrains.annotations.NotNull; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -60,8 +59,6 @@ public class BaseGridDailyworkServiceImpl extends BaseServiceImpl<BaseGridDailyw | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private EpmetUserOpenFeignClient epmetUserOpenFeignClient; | 
					 | 
					 | 
					    private EpmetUserOpenFeignClient epmetUserOpenFeignClient; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private UserPatrolDetailService userPatrolDetailService; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private ExDeptService exDeptService; | 
					 | 
					 | 
					    private ExDeptService exDeptService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private ExUserService exUserService; | 
					 | 
					 | 
					    private ExUserService exUserService; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -155,19 +152,14 @@ public class BaseGridDailyworkServiceImpl extends BaseServiceImpl<BaseGridDailyw | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Integer isKeyPeopleLocate = record.getIsKeyPeopleLocate(); | 
					 | 
					 | 
					        Integer isKeyPeopleLocate = record.getIsKeyPeopleLocate(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (isKeyPeopleLocate != null){ | 
					 | 
					 | 
					        if (isKeyPeopleLocate != null){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            String value = ""; | 
					 | 
					 | 
					            entity.setIsKeyPeopleLocate(isKeyPeopleLocate == NumConstant.ONE ?"Y":"N"); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					            if (NumConstant.ONE == isKeyPeopleLocate){ | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                value = "Y"; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            }else if (NumConstant.ZERO == isKeyPeopleLocate){ | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                value = "N"; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            entity.setIsKeyPeopleLocate(value); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        entity.setKeyPeopleStatus(record.getKeyPeopleStatus()); | 
					 | 
					 | 
					        entity.setKeyPeopleStatus(record.getKeyPeopleStatus()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        entity.setHappenPlace(record.getAddress()); | 
					 | 
					 | 
					        entity.setHappenPlace(record.getAddress()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        entity.setLng(record.getLongitude()); | 
					 | 
					 | 
					        entity.setLng(record.getLongitude()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        entity.setLat(record.getLatitude()); | 
					 | 
					 | 
					        entity.setLat(record.getLatitude()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        //即使是更新也不修改他们的状态
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //entity.setFlag(NumConstant.ZERO_STR);
 | 
					 | 
					 | 
					        //entity.setFlag(NumConstant.ZERO_STR);
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Integer userId = userMap.getOrDefault(record.getCreatedBy(), new ExUserDTO()).getUserId(); | 
					 | 
					 | 
					        Integer userId = userMap.getOrDefault(record.getCreatedBy(), new ExUserDTO()).getUserId(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        entity.setCreateBy(userId == null?record.getCreatedBy():userId.toString()); | 
					 | 
					 | 
					        entity.setCreateBy(userId == null?record.getCreatedBy():userId.toString()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |