opt:优化

This commit is contained in:
DESKTOP-5DIJMF9\admin
2025-04-15 09:58:07 +08:00
parent 598d0730e8
commit e2b190bd85
2 changed files with 4 additions and 1 deletions

View File

@@ -129,7 +129,8 @@ public class SlitterDownTrussTask extends AbstractAcsTask {
log.info("即将下卷的上下轴的子卷号数据4{}", downPlans);
// slittingproductionplanService.updateBatchById(downPlans);
for (int i = 0; i < downPlans.size(); i++) {
slittingproductionplanService.updateById(downPlans.get(i));
boolean flag = slittingproductionplanService.updateById(downPlans.get(i));
log.info(flag+"即将下卷的上下轴的子卷号数据5{}", downPlans);
}
// 获取气胀轴编码
// 筛选上下轴各一条

View File

@@ -1,5 +1,6 @@
package org.nl.b_lms.storage_manage.ios.service.iostorInv.util.impl;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.ObjectUtil;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
@@ -191,6 +192,7 @@ public class OutBoxManageServiceImpl implements OutBoxManageService {
}
// 锁定起点
jsonBox.put("lock_type", IOSEnum.LOCK_TYPE.code("验箱出库锁"));
jsonBox.put("update_time", DateUtil.now());
attrTab.update(jsonBox);
// 清空缓存
notOutRowList.clear();