|
@ -30,8 +30,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/cageFrame") |
|
|
@PostMapping("/cageFrame") |
|
|
@Log("外协区空笼框送回") |
|
|
@Log("外协区空笼框送回") |
|
|
@ApiOperation("外协区空笼框送回") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> createEmptyCageStorageTask(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> createEmptyCageStorageTask(@RequestBody JSONObject param) { |
|
|
handheldService.emptyCageStorageTask(param); |
|
|
handheldService.emptyCageStorageTask(param); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
@ -40,8 +38,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/rack") |
|
|
@PostMapping("/rack") |
|
|
@Log("外协区空料架送回") |
|
|
@Log("外协区空料架送回") |
|
|
@ApiOperation("外协区空料架送回") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> applyRackSendItBask(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> applyRackSendItBask(@RequestBody JSONObject param) { |
|
|
handheldService.rackSendItBask(param); |
|
|
handheldService.rackSendItBask(param); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
@ -49,8 +45,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/transhipment") |
|
|
@PostMapping("/transhipment") |
|
|
@Log("物料转运") |
|
|
@Log("物料转运") |
|
|
@ApiOperation("物料转运") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> applyMaterialTransfer(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> applyMaterialTransfer(@RequestBody JSONObject param) { |
|
|
handheldService.materialTransfer(param); |
|
|
handheldService.materialTransfer(param); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
@ -60,8 +54,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/callEmptyRack") |
|
|
@PostMapping("/callEmptyRack") |
|
|
@Log("手持呼叫空料笼") |
|
|
@Log("手持呼叫空料笼") |
|
|
@ApiOperation("手持呼叫空料笼") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> applyEmptyVehicle(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> applyEmptyVehicle(@RequestBody JSONObject param) { |
|
|
return new ResponseEntity<>(handheldService.applyEmptyVehicle(param), HttpStatus.OK); |
|
|
return new ResponseEntity<>(handheldService.applyEmptyVehicle(param), HttpStatus.OK); |
|
|
} |
|
|
} |
|
@ -69,8 +61,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/blanking") |
|
|
@PostMapping("/blanking") |
|
|
@Log("手持工序下料") |
|
|
@Log("手持工序下料") |
|
|
@ApiOperation("手持工序下料") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> createCageBlankingTask(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> createCageBlankingTask(@RequestBody JSONObject param) { |
|
|
handheldService.cageBlankingTask(param); |
|
|
handheldService.cageBlankingTask(param); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
@ -79,16 +69,12 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/lock") |
|
|
@PostMapping("/lock") |
|
|
@Log("点位锁定释放") |
|
|
@Log("点位锁定释放") |
|
|
@ApiOperation("点位锁定释放") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> applyPointLock(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> applyPointLock(@RequestBody JSONObject param) { |
|
|
return new ResponseEntity<>(handheldService.pointLock(param), HttpStatus.OK); |
|
|
return new ResponseEntity<>(handheldService.pointLock(param), HttpStatus.OK); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@PostMapping("/pointStatus") |
|
|
@PostMapping("/pointStatus") |
|
|
@Log("修改点位货物状态") |
|
|
@Log("修改点位货物状态") |
|
|
@ApiOperation("修改点位货物状态") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> applyPointStatus(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> applyPointStatus(@RequestBody JSONObject param) { |
|
|
return new ResponseEntity<>(handheldService.pointStatus(param), HttpStatus.OK); |
|
|
return new ResponseEntity<>(handheldService.pointStatus(param), HttpStatus.OK); |
|
|
} |
|
|
} |
|
@ -96,8 +82,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/storehouse") |
|
|
@PostMapping("/storehouse") |
|
|
@Log("补空框") |
|
|
@Log("补空框") |
|
|
@ApiOperation("补空框") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> createToStorehouse(@RequestBody JSONObject param) { |
|
|
public ResponseEntity<Object> createToStorehouse(@RequestBody JSONObject param) { |
|
|
handheldService.toStorehouse(param); |
|
|
handheldService.toStorehouse(param); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
@ -105,16 +89,12 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/getRegionCode") |
|
|
@PostMapping("/getRegionCode") |
|
|
@Log("查询工序") |
|
|
@Log("查询工序") |
|
|
@ApiOperation("查询工序") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> getRegionCodeByOrderCode(@RequestBody JSONObject orderCode) { |
|
|
public ResponseEntity<Object> getRegionCodeByOrderCode(@RequestBody JSONObject orderCode) { |
|
|
return new ResponseEntity<>(handheldService.regionCodeByOrderCode(orderCode.getString("orderCode")),HttpStatus.OK); |
|
|
return new ResponseEntity<>(handheldService.regionCodeByOrderCode(orderCode.getString("orderCode")),HttpStatus.OK); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@PostMapping("/updateOrder") |
|
|
@PostMapping("/updateOrder") |
|
|
@Log("修改订单工序") |
|
|
@Log("修改订单工序") |
|
|
@ApiOperation("修改订单工序") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> updateRegionCodeByOrder(@RequestBody JSONArray json) { |
|
|
public ResponseEntity<Object> updateRegionCodeByOrder(@RequestBody JSONArray json) { |
|
|
handheldService.updateRegionCodeByOrder(json); |
|
|
handheldService.updateRegionCodeByOrder(json); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
@ -122,8 +102,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/getUserOrDevice") |
|
|
@PostMapping("/getUserOrDevice") |
|
|
@Log("查询用户的关联设备") |
|
|
@Log("查询用户的关联设备") |
|
|
@ApiOperation("查询用户的关联设备") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> selectUserOrDeviceByUserId(@RequestBody JSONObject json) { |
|
|
public ResponseEntity<Object> selectUserOrDeviceByUserId(@RequestBody JSONObject json) { |
|
|
List<JSONObject> list = handheldService.selectUserOrDevice(json); |
|
|
List<JSONObject> list = handheldService.selectUserOrDevice(json); |
|
|
return new ResponseEntity<>(list,HttpStatus.OK); |
|
|
return new ResponseEntity<>(list,HttpStatus.OK); |
|
@ -131,8 +109,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/deviceInLogin") |
|
|
@PostMapping("/deviceInLogin") |
|
|
@Log("选择设备之后登录") |
|
|
@Log("选择设备之后登录") |
|
|
@ApiOperation("选择设备之后登录") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> deviceInLogin(@RequestBody JSONObject json) { |
|
|
public ResponseEntity<Object> deviceInLogin(@RequestBody JSONObject json) { |
|
|
JSONObject list = handheldService.deviceInLogin(json); |
|
|
JSONObject list = handheldService.deviceInLogin(json); |
|
|
return new ResponseEntity<>(list,HttpStatus.OK); |
|
|
return new ResponseEntity<>(list,HttpStatus.OK); |
|
@ -140,8 +116,6 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/getPointVehicle") |
|
|
@PostMapping("/getPointVehicle") |
|
|
@Log("获取点位的载具号") |
|
|
@Log("获取点位的载具号") |
|
|
@ApiOperation("获取点位的载具号") |
|
|
|
|
|
@SaIgnore |
|
|
|
|
|
public ResponseEntity<Object> getVehicleByPoint(@RequestBody JSONObject json) { |
|
|
public ResponseEntity<Object> getVehicleByPoint(@RequestBody JSONObject json) { |
|
|
String vehicleCode = handheldService.selectVehicleByPoint(json); |
|
|
String vehicleCode = handheldService.selectVehicleByPoint(json); |
|
|
return new ResponseEntity<>(vehicleCode,HttpStatus.OK); |
|
|
return new ResponseEntity<>(vehicleCode,HttpStatus.OK); |
|
@ -149,12 +123,16 @@ public class HandheldController { |
|
|
|
|
|
|
|
|
@PostMapping("/updateRouteStatus") |
|
|
@PostMapping("/updateRouteStatus") |
|
|
@Log("修改路线状态") |
|
|
@Log("修改路线状态") |
|
|
@SaIgnore |
|
|
|
|
|
@ApiOperation("修改路线状态") |
|
|
|
|
|
public ResponseEntity<Object> updateRouteStatus(@RequestBody JSONObject json) { |
|
|
public ResponseEntity<Object> updateRouteStatus(@RequestBody JSONObject json) { |
|
|
handheldService.updateRoute(json); |
|
|
handheldService.updateRoute(json); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
return new ResponseEntity<>(HttpStatus.OK); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/isRouteLock") |
|
|
|
|
|
@Log("路线是否锁定") |
|
|
|
|
|
public ResponseEntity<Object> routeIsLock() { |
|
|
|
|
|
return new ResponseEntity<>(handheldService.isLock(),HttpStatus.OK); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|