Showing
1 changed file
with
29 additions
and
29 deletions
@@ -20,34 +20,34 @@ public class StorageDepositController { | @@ -20,34 +20,34 @@ public class StorageDepositController { | ||
20 | 20 | ||
21 | private static final Logger LOGGER = LoggerFactory.getLogger(StorageDepositController.class); | 21 | private static final Logger LOGGER = LoggerFactory.getLogger(StorageDepositController.class); |
22 | 22 | ||
23 | - @Autowired | ||
24 | - private IStorageDepositService storageDepositService; | ||
25 | - | ||
26 | - @RequestMapping(value = "/getCountByStatus") | ||
27 | - public ApiResponse getCountByStatus(StorageDepositReq req) { | ||
28 | - LOGGER.info("getCountByStatus in"); | ||
29 | - Map<String, Integer> map = storageDepositService.getCountByStatus(req); | ||
30 | - return new ApiResponse.ApiResponseBuilder().code(200).message("查询成功").data(map).build(); | ||
31 | - } | ||
32 | - | ||
33 | - @RequestMapping(value = "/queryDepositListByStatus") | ||
34 | - public ApiResponse queryDepositListByStatus(StorageDepositReq req) { | ||
35 | - LOGGER.info("queryDepositListByStatus in. param is {}", req); | ||
36 | - if(null == req.getStatus()) { | ||
37 | - return new ApiResponse.ApiResponseBuilder().data("").code(400).message("参数status不能为空").build(); | ||
38 | - } | ||
39 | - PageResponseBO<StorageDepositRsp> result = storageDepositService.queryDepositListByStatus(req); | ||
40 | - return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build(); | ||
41 | - } | ||
42 | - | ||
43 | - @RequestMapping(value = "/queryDepositPickList") | ||
44 | - public ApiResponse queryDepositPickList(StorageDepositReq req) { | ||
45 | - LOGGER.info("queryDepositPickList in. param is {}", req); | ||
46 | - if(null == req.getStatus()) { | ||
47 | - return new ApiResponse.ApiResponseBuilder().data("").code(400).message("参数status不能为空").build(); | ||
48 | - } | ||
49 | - PageResponseBO<StorageDepositRsp> result = storageDepositService.queryDepositListByStatus(req); | ||
50 | - return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build(); | ||
51 | - } | 23 | +// @Autowired |
24 | +// private IStorageDepositService storageDepositService; | ||
25 | +// | ||
26 | +// @RequestMapping(value = "/getCountByStatus") | ||
27 | +// public ApiResponse getCountByStatus(StorageDepositReq req) { | ||
28 | +// LOGGER.info("getCountByStatus in"); | ||
29 | +// Map<String, Integer> map = storageDepositService.getCountByStatus(req); | ||
30 | +// return new ApiResponse.ApiResponseBuilder().code(200).message("查询成功").data(map).build(); | ||
31 | +// } | ||
32 | +// | ||
33 | +// @RequestMapping(value = "/queryDepositListByStatus") | ||
34 | +// public ApiResponse queryDepositListByStatus(StorageDepositReq req) { | ||
35 | +// LOGGER.info("queryDepositListByStatus in. param is {}", req); | ||
36 | +// if(null == req.getStatus()) { | ||
37 | +// return new ApiResponse.ApiResponseBuilder().data("").code(400).message("参数status不能为空").build(); | ||
38 | +// } | ||
39 | +// PageResponseBO<StorageDepositRsp> result = storageDepositService.queryDepositListByStatus(req); | ||
40 | +// return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build(); | ||
41 | +// } | ||
42 | +// | ||
43 | +// @RequestMapping(value = "/queryDepositPickList") | ||
44 | +// public ApiResponse queryDepositPickList(StorageDepositReq req) { | ||
45 | +// LOGGER.info("queryDepositPickList in. param is {}", req); | ||
46 | +// if(null == req.getStatus()) { | ||
47 | +// return new ApiResponse.ApiResponseBuilder().data("").code(400).message("参数status不能为空").build(); | ||
48 | +// } | ||
49 | +// PageResponseBO<StorageDepositRsp> result = storageDepositService.queryDepositListByStatus(req); | ||
50 | +// return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build(); | ||
51 | +// } | ||
52 | 52 | ||
53 | } | 53 | } |
-
Please register or login to post a comment