Commit e93b1e89 by guojuxing

消费构成-生日会员-区域

parent 62cf666f
......@@ -115,6 +115,18 @@ public class ConsumeStructureController {
return ResultControllerUtils.commonResult(consumeStructureApiService.queryBirthConsumeSurvey(params));
}
@RequestMapping("get-birth-consume-area")
public RestResponse pageWhetherConsumeArea(BirthConsumeAreaQO params) {
log.info("消费构成-生日会员-区域参数:{}", JSON.toJSONString(params));
params.setOnlineStoreIdList(storeSearchUtils.onLineStoreSearch(params.getUserId(), params.getEnterpriseId(), params.getSearchJson()));
params.setStoreInfoIdList(storeSearchUtils.storeSearch(params.getUserId(), params.getEnterpriseId(), params.getSearchJson()));
if (params.getLevel() != null) {
params.setLevel(storeSearchUtils.getLevel(params.getUserId(), params.getEnterpriseId(), params.getSearchJson()).getLevel());
}
params.setGroupIdList(storeSearchUtils.getChildrenStoreGroupIdList(params.getParentId()));
return ResultControllerUtils.commonResult(consumeStructureApiService.pageBirthConsumeArea(params));
}
@RequestMapping("get-old-consume-rate")
public RestResponse getOldConsumeRate(NewOldConsumeRateQO params) {
log.info("消费构成-新老会员-占比参数:{}", JSON.toJSONString(params));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment