|
@@ -91,7 +91,12 @@ public class StorageDepositController { |
|
@@ -91,7 +91,12 @@ public class StorageDepositController { |
91
|
PageResponseBO<StorageDepositPickRsp> result = storageDepositService.queryDepositPickListByStatus(req);
|
91
|
PageResponseBO<StorageDepositPickRsp> result = storageDepositService.queryDepositPickListByStatus(req);
|
92
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build();
|
92
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build();
|
93
|
}
|
93
|
}
|
94
|
-
|
94
|
+
|
|
|
95
|
+ /**
|
|
|
96
|
+ * 拣货操作
|
|
|
97
|
+ * @param req
|
|
|
98
|
+ * @return
|
|
|
99
|
+ */
|
95
|
@RequestMapping(value = "/finishPick")
|
100
|
@RequestMapping(value = "/finishPick")
|
96
|
public ApiResponse finishPick(StorageDepositReq req) {
|
101
|
public ApiResponse finishPick(StorageDepositReq req) {
|
97
|
LOGGER.info("finishPick in. param is {}", req);
|
102
|
LOGGER.info("finishPick in. param is {}", req);
|
|
@@ -105,7 +110,12 @@ public class StorageDepositController { |
|
@@ -105,7 +110,12 @@ public class StorageDepositController { |
105
|
return new ApiResponse.ApiResponseBuilder().code(500).data(result).message("拣货失败").build();
|
110
|
return new ApiResponse.ApiResponseBuilder().code(500).data(result).message("拣货失败").build();
|
106
|
}
|
111
|
}
|
107
|
}
|
112
|
}
|
108
|
-
|
113
|
+
|
|
|
114
|
+ /**
|
|
|
115
|
+ * 查询已有的货架号列表
|
|
|
116
|
+ * @param req
|
|
|
117
|
+ * @return
|
|
|
118
|
+ */
|
109
|
@RequestMapping(value = "/queryByShelfCode")
|
119
|
@RequestMapping(value = "/queryByShelfCode")
|
110
|
public ApiResponse queryByShelfCode(StorageDepositReq req) {
|
120
|
public ApiResponse queryByShelfCode(StorageDepositReq req) {
|
111
|
LOGGER.info("queryByShelfCode in. param is {}", req);
|
121
|
LOGGER.info("queryByShelfCode in. param is {}", req);
|
|
@@ -115,7 +125,12 @@ public class StorageDepositController { |
|
@@ -115,7 +125,12 @@ public class StorageDepositController { |
115
|
List<StorageDepositRsp> result = storageDepositService.queryByShelfCode(req);
|
125
|
List<StorageDepositRsp> result = storageDepositService.queryByShelfCode(req);
|
116
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build();
|
126
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("查询成功").build();
|
117
|
}
|
127
|
}
|
118
|
-
|
128
|
+
|
|
|
129
|
+ /**
|
|
|
130
|
+ * 导入货架号
|
|
|
131
|
+ * @param file
|
|
|
132
|
+ * @return
|
|
|
133
|
+ */
|
119
|
@RequestMapping(value = "/saveShelfCode", method = RequestMethod.POST)
|
134
|
@RequestMapping(value = "/saveShelfCode", method = RequestMethod.POST)
|
120
|
public ApiResponse saveShelfCode(@RequestParam("file") MultipartFile file) {
|
135
|
public ApiResponse saveShelfCode(@RequestParam("file") MultipartFile file) {
|
121
|
LOGGER.info("saveShelfCode start.");
|
136
|
LOGGER.info("saveShelfCode start.");
|
|
@@ -134,7 +149,12 @@ public class StorageDepositController { |
|
@@ -134,7 +149,12 @@ public class StorageDepositController { |
134
|
}
|
149
|
}
|
135
|
return new ApiResponse.ApiResponseBuilder().code(200).message("操作成功").build();
|
150
|
return new ApiResponse.ApiResponseBuilder().code(200).message("操作成功").build();
|
136
|
}
|
151
|
}
|
137
|
-
|
152
|
+
|
|
|
153
|
+ /**
|
|
|
154
|
+ * 查询货架号是否合法
|
|
|
155
|
+ * @param req
|
|
|
156
|
+ * @return
|
|
|
157
|
+ */
|
138
|
@RequestMapping(value = "/queryIsShelfCodeExist")
|
158
|
@RequestMapping(value = "/queryIsShelfCodeExist")
|
139
|
public ApiResponse queryIsShelfCodeExist(StorageDepositReq req) {
|
159
|
public ApiResponse queryIsShelfCodeExist(StorageDepositReq req) {
|
140
|
LOGGER.info("queryIsShelfCodeExist in. param is {}", req);
|
160
|
LOGGER.info("queryIsShelfCodeExist in. param is {}", req);
|