|
|
@@ -357,9 +357,9 @@ public class WxCorpController {
|
|
|
* 用户意愿饼图
|
|
|
*/
|
|
|
@GetMapping("/get/user/intention/pie")
|
|
|
- public Result<UserIntentionPieView> getUserIntentionPie(String tagId, String date) {
|
|
|
- UserIntentionPieView userIntentionPieView = corpUserTagMapper.getUserIntentionPie(tagId, date);
|
|
|
- return GatewayResponse.SUCCESS.newBuilder().toResult(userIntentionPieView);
|
|
|
+ public Result<List<UserIntentionPieView>> getUserIntentionPie(String tagId, String date) {
|
|
|
+ List<UserIntentionPieView> userIntentionPieViews = corpUserTagMapper.getUserIntentionPie(tagId, date);
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult(userIntentionPieViews);
|
|
|
}
|
|
|
|
|
|
/**
|