|
@@ -118,7 +118,38 @@ public class TaChannelServiceImpl extends ServiceImpl<TaChannelMapper, TaChannel
|
118
|
118
|
*/
|
119
|
119
|
@Override
|
120
|
120
|
public List<TsChannelDaily> getChannelIntroductionListExport(Integer orgId, LocalDate startDate, LocalDate endDate, String channelType, String buildingId, Integer channelId) {
|
121
|
|
- return taChannelMapper.getChannelIntroductionListExport(orgId,startDate,endDate,channelType,buildingId, channelId);
|
|
121
|
+ List<TsChannelDaily> channelIntroductionListExport = taChannelMapper.getChannelIntroductionListExport(orgId, startDate, endDate, channelType, buildingId, channelId);
|
|
122
|
+ channelIntroductionListExport.forEach(e -> {
|
|
123
|
+ String message = "";
|
|
124
|
+ switch (e.getTargetType()){
|
|
125
|
+ case "project":
|
|
126
|
+ message = "项目";
|
|
127
|
+ break;
|
|
128
|
+ case "activity":
|
|
129
|
+ message = "常规活动";
|
|
130
|
+ break;
|
|
131
|
+ case "help":
|
|
132
|
+ message = "助力活动";
|
|
133
|
+ break;
|
|
134
|
+ case "group":
|
|
135
|
+ message = "拼团活动";
|
|
136
|
+ break;
|
|
137
|
+ case "h5":
|
|
138
|
+ message = "H5活动";
|
|
139
|
+ break;
|
|
140
|
+ case "live":
|
|
141
|
+ message = "直播活动";
|
|
142
|
+ break;
|
|
143
|
+ case "news":
|
|
144
|
+ message = "资讯";
|
|
145
|
+ break;
|
|
146
|
+ case "salesBatch":
|
|
147
|
+ message = "销售批次";
|
|
148
|
+ break;
|
|
149
|
+ }
|
|
150
|
+ e.setTargetType(message);
|
|
151
|
+ });
|
|
152
|
+ return channelIntroductionListExport;
|
122
|
153
|
}
|
123
|
154
|
|
124
|
155
|
/**
|