|
|
|
@ -139,7 +139,7 @@ public class PostHandleServiceImpl extends BaseServiceImpl<PostHandleMapper, Pos |
|
|
|
List<CultivateDetailEntity> cultivateDetails = new ArrayList<>(); |
|
|
|
List<CultivateDetailEntity> cultivateDetails = new ArrayList<>(); |
|
|
|
for (Long phId : ids) { |
|
|
|
for (Long phId : ids) { |
|
|
|
CultivateDetailEntity detail = new CultivateDetailEntity(); |
|
|
|
CultivateDetailEntity detail = new CultivateDetailEntity(); |
|
|
|
detail.setType((short) 2); |
|
|
|
detail.setType(CultivateStatusEnum.JOB_TRANSFER.getCode().shortValue()); |
|
|
|
detail.setPlanId(trainingPlanId); |
|
|
|
detail.setPlanId(trainingPlanId); |
|
|
|
detail.setPhId(phId); |
|
|
|
detail.setPhId(phId); |
|
|
|
detail.setCaStatus(TrainingStatusEnum.WAIT_DISTRIBUTE.getCode().shortValue()); |
|
|
|
detail.setCaStatus(TrainingStatusEnum.WAIT_DISTRIBUTE.getCode().shortValue()); |
|
|
|
@ -180,7 +180,7 @@ public class PostHandleServiceImpl extends BaseServiceImpl<PostHandleMapper, Pos |
|
|
|
List<CultivateDetailEntity> cultivateDetails = new ArrayList<>(); |
|
|
|
List<CultivateDetailEntity> cultivateDetails = new ArrayList<>(); |
|
|
|
for (Long phId : ids) { |
|
|
|
for (Long phId : ids) { |
|
|
|
CultivateDetailEntity detail = new CultivateDetailEntity(); |
|
|
|
CultivateDetailEntity detail = new CultivateDetailEntity(); |
|
|
|
detail.setType((short) 3); |
|
|
|
detail.setType(CultivateStatusEnum.LAYOFF.getCode().shortValue()); |
|
|
|
detail.setPlanId(trainingPlanId); |
|
|
|
detail.setPlanId(trainingPlanId); |
|
|
|
detail.setPhId(phId); |
|
|
|
detail.setPhId(phId); |
|
|
|
detail.setCaStatus(TrainingStatusEnum.WAIT_DISTRIBUTE.getCode().shortValue()); |
|
|
|
detail.setCaStatus(TrainingStatusEnum.WAIT_DISTRIBUTE.getCode().shortValue()); |
|
|
|
|