|
|
|
@@ -78,26 +78,9 @@ public class DataTowerController extends BaseController { |
|
|
|
|
|
|
|
@ApiOperation("查询客流") |
|
|
|
@GetMapping("/queryCustomerData") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "report_id", value = "report_id", dataType = "String", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "chart_id", value = "chart_id", dataType = "String", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "date", value = "日期", dataType = "String", paramType = "query", required = false), |
|
|
|
@ApiImplicitParam(name = "shopIds", value = "场所", dataType = "String", paramType = "query", required = false), |
|
|
|
@ApiImplicitParam(name = "page", value = "当前页", dataType = "String", paramType = "query", required = false), |
|
|
|
@ApiImplicitParam(name = "size", value = "条数", dataType = "String", paramType = "query", required = false), |
|
|
|
@ApiImplicitParam(name = "dataType", value = "类型", dataType = "String", paramType = "query", required = false)}) |
|
|
|
public ResultData queryCustomerData(String report_id, String chart_id, String date, String shopIds, String page, String size, String dataType) { |
|
|
|
public ResultData queryCustomerData(@RequestParam Map<String,String> params) { |
|
|
|
logger.debug("[" + getIpAddr() + "] DataTowerController::queryCustomer"); |
|
|
|
|
|
|
|
Map<String, String> params = new HashMap<>(7); |
|
|
|
params.put("report_id", report_id); |
|
|
|
params.put("chart_id", chart_id); |
|
|
|
params.put("date", date); |
|
|
|
params.put("shopIds", shopIds); |
|
|
|
params.put("page", page); |
|
|
|
params.put("size", size); |
|
|
|
params.put("dataType", dataType); |
|
|
|
|
|
|
|
return dataTowerService.queryCustomerData(getTenantId(), params); |
|
|
|
} |
|
|
|
|
|
|
|
|