fix: 纸管重量保存失败
This commit is contained in:
@@ -209,10 +209,9 @@ public class SlitterServiceImpl implements SlitterService {
|
||||
}
|
||||
// 分切计划设置纸卷重量
|
||||
for (PdmBiSlittingproductionplan plan : plans) {
|
||||
if (ObjectUtil.isNotEmpty(material1) && material1.equals(plan.getContainer_name())) {
|
||||
if (SlitterConstant.SLITTER_SUB_VOLUME_LEFT.equals(plan.getLeft_or_right())) {
|
||||
plan.setPaper_weight(weight1);
|
||||
}
|
||||
if (ObjectUtil.isNotEmpty(material2) && material2.equals(plan.getContainer_name())) {
|
||||
} else {
|
||||
plan.setPaper_weight(weight2);
|
||||
}
|
||||
TaskUtils.updateOptMessageBySlitterPlan(plan);
|
||||
|
||||
Reference in New Issue
Block a user