| 
						
						
							
								
							
						
						
					 | 
					@ -780,6 +780,7 @@ public class DcWarningServiceImpl implements IDcWarningService | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            return AjaxResult.error(); | 
					 | 
					 | 
					            return AjaxResult.error(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Long dispatchId = dcDispatch.getId();//信息记录id
 | 
					 | 
					 | 
					        Long dispatchId = dcDispatch.getId();//信息记录id
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        String context = ""; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (employees!=null) { | 
					 | 
					 | 
					        if (employees!=null) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            dcDispatchResource.setResourceId(employees);//资源id
 | 
					 | 
					 | 
					            dcDispatchResource.setResourceId(employees);//资源id
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            dcDispatchResource.setDispatchType(UniversalEnum.ONE.getNumber());//资源类型
 | 
					 | 
					 | 
					            dcDispatchResource.setDispatchType(UniversalEnum.ONE.getNumber());//资源类型
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -788,6 +789,8 @@ public class DcWarningServiceImpl implements IDcWarningService | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (employeesSource==UniversalEnum.ZERO.getNumber()){ | 
					 | 
					 | 
					            if (employeesSource==UniversalEnum.ZERO.getNumber()){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                return AjaxResult.error(UniversalEnum.PERSONNEL_SCHEDULING_EXCEPTION.getValue()); | 
					 | 
					 | 
					                return AjaxResult.error(UniversalEnum.PERSONNEL_SCHEDULING_EXCEPTION.getValue()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            String employeesName = dcWarningMapper.employeesName(employees); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            context = "路管人员" + employeesName + "参与事件救援,"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (vehicles!=null) { | 
					 | 
					 | 
					        if (vehicles!=null) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            // 生成一个随机索引,范围在0到列表长度减1之间
 | 
					 | 
					 | 
					            // 生成一个随机索引,范围在0到列表长度减1之间
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -798,7 +801,19 @@ public class DcWarningServiceImpl implements IDcWarningService | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (dispatchResource==UniversalEnum.ZERO.getNumber()){ | 
					 | 
					 | 
					            if (dispatchResource==UniversalEnum.ZERO.getNumber()){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                return AjaxResult.error(UniversalEnum.VEHICLE_SCHEDULING_EXCEPTION.getValue()); | 
					 | 
					 | 
					                return AjaxResult.error(UniversalEnum.VEHICLE_SCHEDULING_EXCEPTION.getValue()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            String vehiclePlate = dcWarningMapper.vehiclesName(vehicles); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            context += "救援车辆" + vehiclePlate + "参与事件救援,"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (StringUtils.isNotBlank(context)){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            context = context.substring(0,context.length() -1); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            DcEventProcess dcEventProcess = new DcEventProcess(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dcEventProcess.setEventId(eventId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dcEventProcess.setSource(UniversalEnum.ONE.getNumber()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dcEventProcess.setContext(context); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            dcEventProcessService.insertDcEventProcess(dcEventProcess); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return AjaxResult.success(); | 
					 | 
					 | 
					        return AjaxResult.success(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |