diff --git a/src/main/java/com/zcloud/service/xgf/impl/TrainUsersServiceImpl.java b/src/main/java/com/zcloud/service/xgf/impl/TrainUsersServiceImpl.java index 79aefcec..5f5cb66d 100644 --- a/src/main/java/com/zcloud/service/xgf/impl/TrainUsersServiceImpl.java +++ b/src/main/java/com/zcloud/service/xgf/impl/TrainUsersServiceImpl.java @@ -189,6 +189,17 @@ public class TrainUsersServiceImpl implements TrainUsersService { condition.put("TRAINING_BATCH_ID",pd.getString("TRAINING_BATCH_ID")); PageData entity = trainingBatchMapper.findById(condition); int stepNumber = Integer.parseInt(entity.getString("STEP_STATUS")); + switch (stepNumber){ + case 0: + entity.put("TERRITORIALITY_TIME",DateUtil.getTime()); + break; + case 1: + entity.put("MANAGER_TIME",DateUtil.getTime()); + break; + case 2: + entity.put("SUPERVISION_TIME",DateUtil.getTime()); + break; + } entity.put("STEP_STATUS",++stepNumber); trainingBatchMapper.edit(entity); }