|  | @@ -132,26 +132,6 @@ public class CoreDrillTaskServiceImpl extends ServiceImpl<CoreDrillTaskMapper, C
 | 
	
		
			
				|  |  |          return TableDataInfo.build(pageData);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    public static Comparator<CoreDrillTaskPageVo> getComparator() {
 | 
	
		
			
				|  |  | -        //将0映射为0,4映射为1,1映射为2,2映射为3,3映射为4,其他情况映射为5
 | 
	
		
			
				|  |  | -        //0:待培训,1:待签名,2:已完成,3:已逾期,4:待提交
 | 
	
		
			
				|  |  | -        return Comparator.comparingInt((CoreDrillTaskPageVo vo) -> {
 | 
	
		
			
				|  |  | -            Integer num = vo.getStatus();
 | 
	
		
			
				|  |  | -            if (num == 0) {
 | 
	
		
			
				|  |  | -                return 0;
 | 
	
		
			
				|  |  | -            } else if (num == 5) {
 | 
	
		
			
				|  |  | -                return 1;
 | 
	
		
			
				|  |  | -            } else if (num == 1) {
 | 
	
		
			
				|  |  | -                return 2;
 | 
	
		
			
				|  |  | -            } else if (num == 2) {
 | 
	
		
			
				|  |  | -                return 3;
 | 
	
		
			
				|  |  | -            } else if (num == 3) {
 | 
	
		
			
				|  |  | -                return 4;
 | 
	
		
			
				|  |  | -            } else {
 | 
	
		
			
				|  |  | -                return 5;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -        });
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      private void dealParam(CoreDrillTaskPageDto request) {
 | 
	
		
			
				|  |  |          if (ObjectUtil.isNotNull(request.getIsAppSelect()) && 1 == request.getIsAppSelect()) {
 | 
	
	
		
			
				|  | @@ -179,7 +159,7 @@ public class CoreDrillTaskServiceImpl extends ServiceImpl<CoreDrillTaskMapper, C
 | 
	
		
			
				|  |  |          record.setNo(records.indexOf(record) + 1);
 | 
	
		
			
				|  |  |          record.setTypeText(DrillType.getName(record.getType()));
 | 
	
		
			
				|  |  |          record.setStatusText(DrillDoStatus.getName(record.getStatus()));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        record.setCategoryText(DictUtils.getDictLabel(DictConstants.CORE_DRILL_CATEGORY, record.getCategory()));
 | 
	
		
			
				|  |  |          /*List<CoreDrillTaskToRole> coreDrillTaskToRoles = listMap.get(record.getId());
 | 
	
		
			
				|  |  |          if (ObjectUtil.isNotEmpty(coreDrillTaskToRoles)) {
 | 
	
		
			
				|  |  |              record.setTaskRoleList(coreDrillTaskToRoles);
 | 
	
	
		
			
				|  | @@ -231,6 +211,7 @@ public class CoreDrillTaskServiceImpl extends ServiceImpl<CoreDrillTaskMapper, C
 | 
	
		
			
				|  |  |          //处理演练任务类型字典
 | 
	
		
			
				|  |  |          detailVo.setTypeText(DictUtils.getDictLabel(DictConstants.CORE_DRILL_TYPE, detailVo.getType()));
 | 
	
		
			
				|  |  |          detailVo.setRecStatusText(DictUtils.getDictLabel(DictConstants.DRILL_TASK_REC_STATUS, detailVo.getRecStatus()));
 | 
	
		
			
				|  |  | +        detailVo.setCategoryText(DictUtils.getDictLabel(DictConstants.CORE_DRILL_CATEGORY, detailVo.getCategory()));
 | 
	
		
			
				|  |  |          return detailVo;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -316,7 +297,7 @@ public class CoreDrillTaskServiceImpl extends ServiceImpl<CoreDrillTaskMapper, C
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |              coreDrillTask.setStatus(DrillDoStatus.WAIT_SUBMIT.getCode());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        coreDrillTask.setCategory(request.getCategory());
 | 
	
		
			
				|  |  |          coreDrillTask.setUpdateBy(SecurityUtils.getLoginUser().getSysUser().getId().toString());
 | 
	
		
			
				|  |  |          coreDrillTask.setUpdateTime(DateUtils.getNowDate());
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -440,6 +421,7 @@ public class CoreDrillTaskServiceImpl extends ServiceImpl<CoreDrillTaskMapper, C
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  CoreDrillTask trainingTask = new CoreDrillTask();
 | 
	
		
			
				|  |  |                  trainingTask.setId(IdWorker.getId());
 | 
	
		
			
				|  |  | +                trainingTask.setCategory(plan.getCategory());
 | 
	
		
			
				|  |  |                  trainingTask.setPlanId(plan.getId());
 | 
	
		
			
				|  |  |                  trainingTask.setPlanCycle(plan.getPlanCycle());
 | 
	
		
			
				|  |  |                  if (plan.getExecTimes() > 1) {
 | 
	
	
		
			
				|  | @@ -451,7 +433,6 @@ public class CoreDrillTaskServiceImpl extends ServiceImpl<CoreDrillTaskMapper, C
 | 
	
		
			
				|  |  |                  trainingTask.setEndDate(DateUtils.getPreciseTime(dateRangeMap.get(i).getEndTime()));
 | 
	
		
			
				|  |  |                  trainingTask.setPresetCase(null);
 | 
	
		
			
				|  |  |                  trainingTask.setDrillSituation(null);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |                  trainingTask.setDrillStartTime(null);
 | 
	
		
			
				|  |  |                  trainingTask.setDrillEndTime(null);
 | 
	
		
			
				|  |  |                  trainingTask.setDrillSite(null);
 |