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") JSONObject param = new JSONObject();
.query("vehicle_code = '" + storagevehicle_code + "'") param.put("vehicle_code","");
.uniqueResult(0); param.put("point_status","00");
param.put("lock_type","00");
if (ObjectUtil.isNotEmpty(jsonPoint)) { WQLObject.getWQLObject("sch_base_point").update(param,"vehicle_code = '"+storagevehicle_code+"'");
jsonPoint.put("vehicle_code",""); System.out.println("载具"+storagevehicle_code+"解绑成功!");
jsonPoint.put("point_status","00");
jsonPoint.put("lock_type","00");
WQLObject.getWQLObject("sch_base_point").update(jsonPoint);
}
JSONObject returnjo = new JSONObject(); JSONObject returnjo = new JSONObject();
returnjo.put("code", "1"); returnjo.put("code", "1");