rev:穿拔轴机库存更新

This commit is contained in:
2024-01-17 17:09:08 +08:00
parent edf858a244
commit 42b598a49b
2 changed files with 1 additions and 10 deletions

View File

@@ -1318,7 +1318,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
JSONObject point1_jo = ivt_shaftivt.query("point_code = '" + task_jo.getString("point_code1") + "'").uniqueResult(0);
point1_jo.put("have_qzz", "0");
ivt_shaftivt.update(point1_jo);
} else if ("010607".equals(point_type)) {
} else if ("010607".equals(point_type) || "010603".equals(point_type)) {
JSONObject point1_jo = ivt_shaftivt.query("point_code = '" + task_jo.getString("point_code1") + "'").uniqueResult(0);
point1_jo.put("qzz_size", "");
point1_jo.put("qzz_generation", "");

View File

@@ -108,15 +108,6 @@ public class PaperTrussTask extends AbstractAcsTask {
goal_point.put("have_qzz", "1");
ivt_shaftivt.update(goal_point);
}
//空轴放货任务
if ("010603".equals(task_type)) {
String point_code = task_jo.getString("point_code1");
JSONObject goal_point = ivt_shaftivt.query("point_code = '" + point_code + "'").uniqueResult(0);
goal_point.put("qzz_size", "");
goal_point.put("qzz_generation", "");
goal_point.put("have_qzz", "0");
ivt_shaftivt.update(goal_point);
}
//空轴换货任务
if ("010604".equals(task_type)) {
String point_code = task_jo.getString("point_code1");