|
|
|
@@ -42,7 +42,7 @@ import io.swagger.annotations.ApiOperation; |
|
|
|
@RestController
|
|
|
|
@Api(description="会员洞察")
|
|
|
|
@RequestMapping("userAnalysis")
|
|
|
|
public class WxUserStructureController {
|
|
|
|
public class WxUserStructureController extends BaseController{
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
private WxCUserBasicInfoService wxCUserBasicInfoService;
|
|
|
|
@@ -58,6 +58,7 @@ public class WxUserStructureController { |
|
|
|
Date startTime,Date endTime
|
|
|
|
) {
|
|
|
|
WxCuerBasicInfoDto dto = new WxCuerBasicInfoDto();
|
|
|
|
dto.setTenantId(getTenantId());
|
|
|
|
dto.setStartTime(startTime);
|
|
|
|
if(endTime!=null) {
|
|
|
|
Calendar c = Calendar.getInstance();
|
|
|
|
@@ -84,6 +85,7 @@ public class WxUserStructureController { |
|
|
|
@GetMapping("/findUserAgeStructure")
|
|
|
|
public ResultData findUserAgeStructure( Date startTime,Date endTime) {
|
|
|
|
WxCuerBasicInfoDto dto = new WxCuerBasicInfoDto();
|
|
|
|
dto.setTenantId(getTenantId());
|
|
|
|
dto.setStartTime(startTime);
|
|
|
|
if(endTime!=null) {
|
|
|
|
Calendar c = Calendar.getInstance();
|
|
|
|
@@ -111,6 +113,7 @@ public class WxUserStructureController { |
|
|
|
@GetMapping("/findUserDataCount")
|
|
|
|
public ResultData findUserCount(Date startTime,Date endTime) {
|
|
|
|
WxCuerBasicInfoDto dto = new WxCuerBasicInfoDto();
|
|
|
|
dto.setTenantId(getTenantId());
|
|
|
|
dto.setStartTime(startTime);
|
|
|
|
if(endTime!=null) {
|
|
|
|
Calendar c = Calendar.getInstance();
|
|
|
|
|