|  |  | @ -39,6 +39,7 @@ import com.epmet.feign.GovOrgOpenFeignClient; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.PatrolRoutineWorkService; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.PatrolRoutineWorkTypeService; | 
			
		
	
		
			
				
					|  |  |  | import lombok.extern.slf4j.Slf4j; | 
			
		
	
		
			
				
					|  |  |  | import org.apache.commons.lang3.StringUtils; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.stereotype.Service; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.transaction.annotation.Transactional; | 
			
		
	
	
		
			
				
					|  |  | @ -76,6 +77,11 @@ public class PatrolRoutineWorkServiceImpl extends BaseServiceImpl<PatrolRoutineW | 
			
		
	
		
			
				
					|  |  |  |     @Transactional(rollbackFor = Exception.class) | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public void add(PatrolRoutineWorkFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         if (formDTO.getWorkTypeList().toString().contains("02") | 
			
		
	
		
			
				
					|  |  |  |                 && (StringUtils.isBlank(formDTO.getIsKeyPeopleLocate()) || StringUtils.isBlank(formDTO.getKeyPeopleStatus()))){ | 
			
		
	
		
			
				
					|  |  |  |             log.warn("add patrolRoutineWork fail,param is error,param:{}", JSON.toJSONString(formDTO)); | 
			
		
	
		
			
				
					|  |  |  |             throw new EpmetException(EpmetErrorCode.ORG_ADD_FAILED.getCode()); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         PatrolRoutineWorkEntity entity = ConvertUtils.sourceToTarget(formDTO, PatrolRoutineWorkEntity.class); | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         CustomerGridFormDTO gridFormDTO = new CustomerGridFormDTO(); | 
			
		
	
	
		
			
				
					|  |  | 
 |