|
@@ -63,7 +63,7 @@ public class MainChartController {
|
63
|
63
|
}
|
64
|
64
|
|
65
|
65
|
/**
|
66
|
|
- * 설명 : 구매발주 차트
|
|
66
|
+ * 설명 : 매출순위 차트
|
67
|
67
|
*
|
68
|
68
|
* @param brandId
|
69
|
69
|
* @return
|
|
@@ -83,4 +83,23 @@ public class MainChartController {
|
83
|
83
|
return ResponseEntity.ok(mainChartService.selectPrRankChart(brandId, storeId, prType));
|
84
|
84
|
}
|
85
|
85
|
|
|
86
|
+ /**
|
|
87
|
+ * 설명 : 정산 차트
|
|
88
|
+ *
|
|
89
|
+ * @param brandId
|
|
90
|
+ * @return
|
|
91
|
+ * @throws Exception
|
|
92
|
+ */
|
|
93
|
+ @ApiImplicitParams({
|
|
94
|
+ @ApiImplicitParam(name = "X-AUTH-TOKEN", value = "CONN-KEY", required = true, dataType = "String", paramType = "header"),
|
|
95
|
+ @ApiImplicitParam(name = "brandId", value = "브랜드아이디", required = true, dataType = "String", paramType = "query"),
|
|
96
|
+ @ApiImplicitParam(name = "storeId", value = "매장아이디", required = true, dataType = "String", paramType = "query")
|
|
97
|
+ })
|
|
98
|
+ @ApiOperation(value = "정산 차트")
|
|
99
|
+ @GetMapping("/stl-chart")
|
|
100
|
+ public ResponseEntity<ChartResponse> stl_chart(@RequestParam(value = "brandId") String brandId,
|
|
101
|
+ @RequestParam(value = "storeId") String storeId) throws Exception {
|
|
102
|
+ return ResponseEntity.ok(mainChartService.selectStlChart(brandId, storeId));
|
|
103
|
+ }
|
|
104
|
+
|
86
|
105
|
}
|