bug修复
parent
d8f38ffdcd
commit
add025a274
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue