|
@@ -174,16 +174,12 @@ public class ItemUnitController {
|
174
|
174
|
* @throws Exception
|
175
|
175
|
*/
|
176
|
176
|
@ApiImplicitParams({
|
177
|
|
- @ApiImplicitParam(name = "X-AUTH-TOKEN", value = "CONN-KEY", required = true, dataType = "String", paramType = "header"),
|
178
|
|
- @ApiImplicitParam(name = "brandId", value = "브랜드아이디", required = true, dataType = "String", paramType = "query"),
|
179
|
|
- @ApiImplicitParam(name = "storeId", value = "매장아이디", required = true, dataType = "String", paramType = "query"),
|
180
|
|
- @ApiImplicitParam(name = "contSttDt", value = "계약시작일시", required = true, dataType = "String", paramType = "query"),
|
181
|
|
- @ApiImplicitParam(name = "contEndDt", value = "계약종료일시", required = true, dataType = "String", paramType = "query")
|
|
177
|
+ @ApiImplicitParam(name = "X-AUTH-TOKEN", value = "CONN-KEY", required = true, dataType = "String", paramType = "header")
|
182
|
178
|
})
|
183
|
179
|
@ApiOperation(value = "매장단가 정보")
|
184
|
|
- @GetMapping("/info-storeitemunit")
|
185
|
|
- public ResponseEntity<StoreItemUnitInfoResponse> infoUnitItem(@RequestParam(value = "brandId") String brandId, @RequestParam(value = "storeId") String storeId, @RequestParam(value = "contSttDt") String contSttDt , @RequestParam(value = "contEndDt") String contEndDt) throws Exception {
|
186
|
|
- return ResponseEntity.ok(itemUnitService.selectStoreItemUnitInfo(brandId, storeId, contSttDt, contEndDt));
|
|
180
|
+ @PostMapping("/info-storeitemunit")
|
|
181
|
+ public ResponseEntity<StoreItemUnitInfoResponse> infoUnitItem(@RequestBody @Valid StoreItemUnitInfolRequest storeItemUnitInfolRequest) throws Exception {
|
|
182
|
+ return ResponseEntity.ok(itemUnitService.selectStoreItemUnitInfo(storeItemUnitInfolRequest));
|
187
|
183
|
}
|
188
|
184
|
|
189
|
185
|
/**
|