rev:型材出库点位解锁

This commit is contained in:
2023-09-01 16:01:06 +08:00
parent 1a9f831aa5
commit 973099a002

View File

@@ -174,16 +174,13 @@ public class HandXCOutIvtServiceImpl implements HandXCOutIvtService {
}
// 解锁点位托盘:根据托盘找到点位并解锁
JSONObject jsonPoint = WQLObject.getWQLObject("sch_base_point")
.query("vehicle_code = '" + storagevehicle_code + "'")
.uniqueResult(0);
JSONObject param = new JSONObject();
param.put("vehicle_code","");
param.put("point_status","00");
param.put("lock_type","00");
if (ObjectUtil.isNotEmpty(jsonPoint)) {
jsonPoint.put("vehicle_code","");
jsonPoint.put("point_status","00");
jsonPoint.put("lock_type","00");
WQLObject.getWQLObject("sch_base_point").update(jsonPoint);
}
WQLObject.getWQLObject("sch_base_point").update(param,"vehicle_code = '"+storagevehicle_code+"'");
System.out.println("载具"+storagevehicle_code+"解绑成功!");
JSONObject returnjo = new JSONObject();
returnjo.put("code", "1");