add: 手持备货区管理

This commit is contained in:
2024-07-23 13:46:59 +08:00
parent 2995e10beb
commit 7f7e0b35cd

View File

@@ -1466,7 +1466,7 @@ public class SlitterServiceImpl implements SlitterService {
pointByCode.setVehicle_code(vehicleCode); pointByCode.setVehicle_code(vehicleCode);
pointByCode.setIvt_status("1"); pointByCode.setIvt_status("1");
TaskUtils.updateOptMessageByBStockingPoint(pointByCode); TaskUtils.updateOptMessageByBStockingPoint(pointByCode);
stockingivtService.update(pointByCode); stockingivtService.updateById(pointByCode);
JSONObject res = new JSONObject(); JSONObject res = new JSONObject();
res.put("status", HttpStatus.HTTP_OK); res.put("status", HttpStatus.HTTP_OK);
res.put("message", "备货区绑定成功!"); res.put("message", "备货区绑定成功!");
@@ -1485,7 +1485,7 @@ public class SlitterServiceImpl implements SlitterService {
pointByCode.setVehicle_code(""); pointByCode.setVehicle_code("");
pointByCode.setIvt_status("0"); pointByCode.setIvt_status("0");
TaskUtils.updateOptMessageByBStockingPoint(pointByCode); TaskUtils.updateOptMessageByBStockingPoint(pointByCode);
stockingivtService.update(pointByCode); stockingivtService.updateById(pointByCode);
JSONObject res = new JSONObject(); JSONObject res = new JSONObject();
res.put("status", HttpStatus.HTTP_OK); res.put("status", HttpStatus.HTTP_OK);
res.put("message", "备货区解绑成功!"); res.put("message", "备货区解绑成功!");