WMS:PDA接口申请移库页面的获取仓库列表接口和获取库位接口
master
xins 8 months ago
parent 09228dd9f4
commit 3b7adc0bb6

@ -57,6 +57,9 @@ public class WmsMobileController extends BaseController {
@Autowired @Autowired
private IWmsBaseWarehouseService wmsBaseWarehouseService; private IWmsBaseWarehouseService wmsBaseWarehouseService;
@Autowired
private IWmsBaseLocationService wmsBaseLocationService;
@Autowired @Autowired
private IWmsProductStockService wmsProductStockService; private IWmsProductStockService wmsProductStockService;
@ -411,6 +414,32 @@ public class WmsMobileController extends BaseController {
//todo入库时校验warehousematerial,入库出库需要校验库位状态,是否是移库合库锁定等 //todo入库时校验warehousematerial,入库出库需要校验库位状态,是否是移库合库锁定等
/**
*
*/
// @RequiresPermissions("wms:rawoutstock:query")
@GetMapping(value = "/getWarehouses")
public AjaxResult getWarehouses() {
WmsBaseWarehouse queryWarehouse = new WmsBaseWarehouse();
queryWarehouse.setWarehouseType(WmsConstants.WMS_WAREHOUSE_TYPE_NORMAL);
List<WmsBaseWarehouse> warehouses = wmsBaseWarehouseService.selectWmsBaseWarehouseList(queryWarehouse);
return success(warehouses);
}
/**
*
*/
// @RequiresPermissions("wms:rawoutstock:query")
@GetMapping(value = "/getLocations")
public AjaxResult getLocations(WmsBaseLocation baseLocation) {
List<WmsBaseLocation> baseLocations = wmsBaseLocationService.selectWmsBaseLocationList(baseLocation);
return success(baseLocations);
}
/** /**
* *
*/ */
@ -437,8 +466,8 @@ public class WmsMobileController extends BaseController {
* *
*/ */
// @RequiresPermissions("wms:rawoutstock:query") // @RequiresPermissions("wms:rawoutstock:query")
@GetMapping(value = "/getMoveDetail/{taskCode}") @GetMapping(value = "/getMoveListByTaskCode/{taskCode}")
public AjaxResult getMoveDetail(@PathVariable("taskCode") String taskCode) { public AjaxResult getMoveListByTaskCode(@PathVariable("taskCode") String taskCode) {
WmsMove queryMove = new WmsMove(); WmsMove queryMove = new WmsMove();
queryMove.setTaskCode(taskCode); queryMove.setTaskCode(taskCode);
List<WmsMove> wmsMoveList = wmsMoveService.selectWmsMoveJoinList(queryMove); List<WmsMove> wmsMoveList = wmsMoveService.selectWmsMoveJoinList(queryMove);

Loading…
Cancel
Save