|
@@ -152,9 +152,6 @@ public class PdaInvLotLocIdController {
|
|
|
|
|
|
* 设置为空托
|
|
|
*
|
|
|
- * @param locationId
|
|
|
- * @param updateBy
|
|
|
- * @return
|
|
|
*/
|
|
|
@Log(title = "设置为空托", businessType = BusinessType.binLocationRelease)
|
|
|
@PostMapping("/binLocationRelease")
|
|
@@ -164,6 +161,21 @@ public class PdaInvLotLocIdController {
|
|
|
return locationViewSafeController.adjLocationIsEmpty(Long.parseLong(invLotLocIdMoveForm.getLocationFrom()));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ * 多选设置为空托
|
|
|
+ *
|
|
|
+ */
|
|
|
+ @Log(title = "设置为空托", businessType = BusinessType.binLocationReleaseList)
|
|
|
+ @PostMapping("/binLocationReleaseList")
|
|
|
+ public AjaxResult binLocationReleaseList(@RequestBody List<InvLotLocIdMoveForm> invLotLocIdMoveFormList) {
|
|
|
+ for (InvLotLocIdMoveForm invLotLocIdMoveForm :invLotLocIdMoveFormList){
|
|
|
+ invLotLocIdService.clear(invLotLocIdMoveForm.getLocationFrom(), Constant.WAREHOUSE_ID, "pda");
|
|
|
+ locationViewSafeController.setIsEmptyPallent(Long.parseLong(invLotLocIdMoveForm.getLocationFrom()));
|
|
|
+ locationViewSafeController.adjLocationIsEmpty(Long.parseLong(invLotLocIdMoveForm.getLocationFrom()));
|
|
|
+ }
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
* 库位任务状态调整
|
|
|
*
|