|
@@ -213,7 +213,7 @@ public class PersonalNodeHandler extends WorkNodeProcessable {
|
|
|
*/
|
|
|
@Override
|
|
|
public void afterForward(WorkFlowNodeInstance currentInstanceNode) {
|
|
|
- // 撰写节点完成后,更新产品完成时间
|
|
|
+ // 审核节点完成后,更新产品完成时间
|
|
|
PersonalTarget target = personalTargetService.getOne(new LambdaQueryWrapper<PersonalTarget>()
|
|
|
.select(BaseEntity::getId)
|
|
|
.eq(PersonalTarget::getPersonalId, currentInstanceNode.getBusinessId())
|
|
@@ -224,21 +224,21 @@ public class PersonalNodeHandler extends WorkNodeProcessable {
|
|
|
.eq(PersonalProduction::getTargetId, target.getId());
|
|
|
Date nodeFinishedTime;
|
|
|
switch (WorkflowNodeEnum.valueOf(currentInstanceNode.getNodeCode())){
|
|
|
- // 撰写意见书
|
|
|
+ // 审核意见书
|
|
|
case REVIEW_STATEMENT:
|
|
|
nodeFinishedTime = workFlowNodeInstanceService.getNodeFinishedTime(PERSONAL_BUSINESS, GENERATE_STATEMENT, currentInstanceNode.getBusinessId(), currentInstanceNode.getBusinessSubId(), null);
|
|
|
productionTimeUpdateWrapper.eq(PersonalProduction::getProduction, STATEMENT.getCode())
|
|
|
.set(PersonalProduction::getProductionTime, nodeFinishedTime);
|
|
|
personalProductionService.update(productionTimeUpdateWrapper);
|
|
|
break;
|
|
|
- // 撰写报告报告(包含技术报告和结果报告)
|
|
|
+ // 审核报告报告(包含技术报告和结果报告)
|
|
|
case CHECK_REPORT:
|
|
|
nodeFinishedTime = workFlowNodeInstanceService.getNodeFinishedTime(PERSONAL_BUSINESS, WRITE_REPORT, currentInstanceNode.getBusinessId(), currentInstanceNode.getBusinessSubId(), null);
|
|
|
productionTimeUpdateWrapper.and(temp->temp.eq(PersonalProduction::getProduction,TECHNIC.getCode()).or().eq(PersonalProduction::getProduction,FINAL.getCode()))
|
|
|
.set(PersonalProduction::getProductionTime, nodeFinishedTime);
|
|
|
personalProductionService.update(productionTimeUpdateWrapper);
|
|
|
break;
|
|
|
- // 撰写复评函
|
|
|
+ // 审核复评函
|
|
|
case CHECK_LETTER:
|
|
|
nodeFinishedTime = workFlowNodeInstanceService.getNodeFinishedTime(PERSONAL_BUSINESS, WRITE_LETTER, currentInstanceNode.getBusinessId(), currentInstanceNode.getBusinessSubId(), null);
|
|
|
productionTimeUpdateWrapper.eq(PersonalProduction::getProduction, LETTER.getCode())
|