|
|
|
@ -89,6 +89,27 @@ public class InvWarehouseController {
|
|
|
|
|
return ResultVOUtils.success(invWarehouseEntities);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("spms/inv/warehouse/filterNext")
|
|
|
|
|
public BaseResponse filterNext(FilterInvWarehouseRequest filterInvWarehouseRequest) {
|
|
|
|
|
filterInvWarehouseRequest.setPid(0);
|
|
|
|
|
filterInvWarehouseRequest.setStatus(1);
|
|
|
|
|
|
|
|
|
|
List<InvWarehouseEntity> invWarehouseEntities = invWarehouseService.filterGroupInvWarehouse(filterInvWarehouseRequest);
|
|
|
|
|
return ResultVOUtils.success(invWarehouseEntities);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("spms/inv/warehouse/filterByUser")
|
|
|
|
|
public BaseResponse filterByUser(FilterInvWarehouseRequest filterInvWarehouseRequest) {
|
|
|
|
|
AuthAdmin authAdmin = customerService.getUserBean();
|
|
|
|
|
filterInvWarehouseRequest.setPid(0);
|
|
|
|
|
filterInvWarehouseRequest.setStatus(1);
|
|
|
|
|
filterInvWarehouseRequest.setUserId(authAdmin.getId().intValue());
|
|
|
|
|
List<InvWarehouseEntity> mInvWarehouseEntities = invWarehouseService.filterAllByUser(filterInvWarehouseRequest);
|
|
|
|
|
return ResultVOUtils.success(mInvWarehouseEntities);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("spms/inv/warehouse/filterAllLocInv")
|
|
|
|
@ -409,7 +430,7 @@ public class InvWarehouseController {
|
|
|
|
|
*/
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("/spms/inv/warehouse/bindThrWarehouse")
|
|
|
|
|
public BaseResponse bindThrWarehouse(Integer id, String thridWarehouseId, String sysId) {
|
|
|
|
|
public BaseResponse bindThrWarehouse(Integer id, String thridWarehouseId, String sysId) {
|
|
|
|
|
if (null == id || null == thridWarehouseId || StrUtil.isBlank(sysId)) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL);
|
|
|
|
|
}
|
|
|
|
|