|
@@ -182,11 +182,10 @@ public class StockMngController {
|
182
|
182
|
@ApiOperation(value = "바코드를 통한 창고 품목 정보조회")
|
183
|
183
|
@GetMapping("/info-barcode-stock")
|
184
|
184
|
public ResponseEntity<BarcodeWhsItemInfoResponse> infoBarcodeStock(@RequestParam(value = "sBrandId") String sBrandId, @RequestParam(value = "sWhsId") String sWhsId,
|
185
|
|
- @RequestParam(value = "sLocation") String sLocation, @RequestParam(value = "sBarcode") String sBarcode) throws Exception {
|
|
185
|
+ @RequestParam(value = "sLocation") String sLocation, @RequestParam(value = "sBarcode") String sBarcode) throws Exception {
|
186
|
186
|
return ResponseEntity.ok(stockMngService.selectBarcodeWhsItemMngInfo(sBrandId, sWhsId, sLocation, sBarcode));
|
187
|
187
|
}
|
188
|
188
|
|
189
|
|
-
|
190
|
189
|
@ApiImplicitParams({
|
191
|
190
|
@ApiImplicitParam(name = "X-AUTH-TOKEN", value = "CONN-KEY", required = true, dataType = "String", paramType = "header")
|
192
|
191
|
})
|
|
@@ -196,5 +195,13 @@ public class StockMngController {
|
196
|
195
|
return ResponseEntity.ok(stockMngService.selectWhsLocationItemList(whsLocationItemListRequest.getBrandId(), whsLocationItemListRequest.getWhsId(), whsLocationItemListRequest.getLocation(), whsLocationItemListRequest.toDTO(whsLocationItemListRequest)));
|
197
|
196
|
}
|
198
|
197
|
|
|
198
|
+ @ApiImplicitParams({
|
|
199
|
+ @ApiImplicitParam(name = "X-AUTH-TOKEN", value = "CONN-KEY", required = true, dataType = "String", paramType = "header")
|
|
200
|
+ })
|
|
201
|
+ @ApiOperation(value = "창고 재고 품목 엑셀 다운로드")
|
|
202
|
+ @PostMapping("/info-whs-item-excel")
|
|
203
|
+ public ResponseEntity<GridResponse> info_whs_item_excel(@RequestBody @Valid WhsLocationItemListRequest whsLocationItemListRequest) throws Exception {
|
|
204
|
+ return ResponseEntity.ok(stockMngService.selectWhsLocationItemList4Excel(whsLocationItemListRequest.getBrandId(), whsLocationItemListRequest.getWhsId(), whsLocationItemListRequest.getLocation(), whsLocationItemListRequest.toDTO(whsLocationItemListRequest)));
|
|
205
|
+ }
|
199
|
206
|
|
200
|
207
|
}
|