|
@@ -139,6 +139,11 @@ public class BizProductionPlanDetailController extends BaseController {
|
|
notStartList.forEach(item ->
|
|
notStartList.forEach(item ->
|
|
{item.setTechnologyVersion(bizProductionPlanDetail.getTechnologyVersion());
|
|
{item.setTechnologyVersion(bizProductionPlanDetail.getTechnologyVersion());
|
|
item.setTechnologicalProcessId(bizProductionPlanDetail.getTechnologicalProcessId());});
|
|
item.setTechnologicalProcessId(bizProductionPlanDetail.getTechnologicalProcessId());});
|
|
|
|
+ //修改生产计划表的版本
|
|
|
|
+ BizProductionPlanDetail productionPlanDetail = bizProductionPlanDetailService.getById(bizProductionPlanDetail.getId());
|
|
|
|
+ productionPlanDetail.setTechnologicalProcessId(bizProductionPlanDetail.getTechnologicalProcessId());
|
|
|
|
+ productionPlanDetail.setTechnologyVersion(bizProductionPlanDetail.getTechnologyVersion());
|
|
|
|
+ bizProductionPlanDetailService.updateById(productionPlanDetail);
|
|
return toAjax(bizLotService.updateBatchById(notStartList));
|
|
return toAjax(bizLotService.updateBatchById(notStartList));
|
|
}
|
|
}
|
|
|
|
|