rev:穿拔轴机库存更新
This commit is contained in:
@@ -1318,7 +1318,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
JSONObject point1_jo = ivt_shaftivt.query("point_code = '" + task_jo.getString("point_code1") + "'").uniqueResult(0);
|
JSONObject point1_jo = ivt_shaftivt.query("point_code = '" + task_jo.getString("point_code1") + "'").uniqueResult(0);
|
||||||
point1_jo.put("have_qzz", "0");
|
point1_jo.put("have_qzz", "0");
|
||||||
ivt_shaftivt.update(point1_jo);
|
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);
|
JSONObject point1_jo = ivt_shaftivt.query("point_code = '" + task_jo.getString("point_code1") + "'").uniqueResult(0);
|
||||||
point1_jo.put("qzz_size", "");
|
point1_jo.put("qzz_size", "");
|
||||||
point1_jo.put("qzz_generation", "");
|
point1_jo.put("qzz_generation", "");
|
||||||
|
|||||||
@@ -108,15 +108,6 @@ public class PaperTrussTask extends AbstractAcsTask {
|
|||||||
goal_point.put("have_qzz", "1");
|
goal_point.put("have_qzz", "1");
|
||||||
ivt_shaftivt.update(goal_point);
|
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)) {
|
if ("010604".equals(task_type)) {
|
||||||
String point_code = task_jo.getString("point_code1");
|
String point_code = task_jo.getString("point_code1");
|
||||||
|
|||||||
Reference in New Issue
Block a user