|
@@ -436,6 +436,7 @@ public class FirstArticleServiceImpl extends ServiceImpl<FirstArticleMapper, Ben
|
|
|
.prevId(oldPlan.getId())
|
|
|
.originalId(oldPlan.getOriginalId())
|
|
|
.status(PlanStatus.WAIT_APPROVAL.value)
|
|
|
+ .fileId(req.getUrl())
|
|
|
.build();
|
|
|
planService.save(plan);
|
|
|
// 添加首件、200件点检规则
|
|
@@ -496,12 +497,13 @@ public class FirstArticleServiceImpl extends ServiceImpl<FirstArticleMapper, Ben
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- // 没审批通过 修改防错计划
|
|
|
+ // 没审批通过 修改计划
|
|
|
plan = BentelerPlan.builder()
|
|
|
.id(oldPlan.getId())
|
|
|
.name(req.getBentelerPlanName())
|
|
|
.effectiveDate(req.getEffectiveDate())
|
|
|
.status(PlanStatus.WAIT_APPROVAL.value)
|
|
|
+ .fileId(req.getUrl())
|
|
|
.build();
|
|
|
planService.updateById(plan);
|
|
|
// 删除首件、200件点检规则
|