...
|
...
|
@@ -134,5 +134,15 @@ public class StorageDepositController { |
|
|
}
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("操作成功").build();
|
|
|
}
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/queryIsShelfCodeExist")
|
|
|
public ApiResponse queryIsShelfCodeExist(StorageDepositReq req) {
|
|
|
LOGGER.info("queryIsShelfCodeExist in. param is {}", req);
|
|
|
if(StringUtils.isEmpty(req.getShelfCode())) {
|
|
|
return new ApiResponse.ApiResponseBuilder().code(400).message("请扫描货位号").build();
|
|
|
}
|
|
|
boolean result = storageDepositService.queryIsShelfCodeExist(req.getShelfCode());
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build();
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|