add: 手持备货区管理
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
`bst_ivt_cutpointivt` bsp
|
||||
LEFT JOIN pdm_bi_slittingproductionplan p ON p.is_delete = '0' AND p.`status` = '03' AND (p.qzzno = bsp.qzz_no1 OR p.qzzno = bsp.qzz_no2)
|
||||
WHERE bsp.point_type = '3' AND bsp.point_status = '2' AND p.workorder_id IS NOT NULL
|
||||
AND p.resource_name = #{extCode} AND bsp.is_used = '1'
|
||||
AND p.resource_name = #{extCode} AND bsp.is_used = '1' AND IFNULL(p.qzzno, '') <![CDATA[ <> ]]> ''
|
||||
ORDER BY bsp.update_time
|
||||
</select>
|
||||
<select id="getAreaFullVolumeByArea"
|
||||
|
||||
@@ -1466,6 +1466,7 @@ public class SlitterServiceImpl implements SlitterService {
|
||||
pointByCode.setVehicle_code(vehicleCode);
|
||||
pointByCode.setIvt_status("1");
|
||||
TaskUtils.updateOptMessageByBStockingPoint(pointByCode);
|
||||
stockingivtService.update(pointByCode);
|
||||
JSONObject res = new JSONObject();
|
||||
res.put("status", HttpStatus.HTTP_OK);
|
||||
res.put("message", "备货区绑定成功!");
|
||||
@@ -1484,6 +1485,7 @@ public class SlitterServiceImpl implements SlitterService {
|
||||
pointByCode.setVehicle_code("");
|
||||
pointByCode.setIvt_status("0");
|
||||
TaskUtils.updateOptMessageByBStockingPoint(pointByCode);
|
||||
stockingivtService.update(pointByCode);
|
||||
JSONObject res = new JSONObject();
|
||||
res.put("status", HttpStatus.HTTP_OK);
|
||||
res.put("message", "备货区解绑成功!");
|
||||
|
||||
Reference in New Issue
Block a user