|
@@ -108,7 +108,7 @@
|
108
|
108
|
and t.target_id = #{activityId}
|
109
|
109
|
</if>
|
110
|
110
|
<if test="activityType != null and activityType != ''">
|
111
|
|
- and t.target_type = #{activityType}
|
|
111
|
+ and t.event_type = #{activityType}
|
112
|
112
|
</if>
|
113
|
113
|
<if test="buildingId != null and buildingId != ''">
|
114
|
114
|
and t.building_id = #{buildingId}
|
|
@@ -150,7 +150,7 @@
|
150
|
150
|
and t.target_id = #{targetId}
|
151
|
151
|
</if>
|
152
|
152
|
<if test="targetType != null and targetType != ''">
|
153
|
|
- and (case when #{targetType} = 'activity' then t.target_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.target_type = #{targetType}
|
|
153
|
+ and (case when #{targetType} = 'activity' then t.event_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.event_type = #{targetType}
|
154
|
154
|
end)
|
155
|
155
|
</if>
|
156
|
156
|
<if test="channelId != null and channelId != ''">
|
|
@@ -210,7 +210,7 @@
|
210
|
210
|
and t.target_id = #{targetId}
|
211
|
211
|
</if>
|
212
|
212
|
<if test="targetType != null and targetType != ''">
|
213
|
|
- and (case when #{targetType} = 'activity' then t.target_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.target_type = #{targetType}
|
|
213
|
+ and (case when #{targetType} = 'activity' then t.event_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.event_type = #{targetType}
|
214
|
214
|
end)
|
215
|
215
|
</if>
|
216
|
216
|
<if test="buildingId != null and buildingId != ''">
|
|
@@ -271,7 +271,7 @@
|
271
|
271
|
and t.target_id = #{activityId}
|
272
|
272
|
</if>
|
273
|
273
|
<if test="activityType != null and activityType != ''">
|
274
|
|
- and t.target_type = #{activityType}
|
|
274
|
+ and t.event_type = #{activityType}
|
275
|
275
|
</if>
|
276
|
276
|
<if test="buildingId != null and buildingId != ''">
|
277
|
277
|
and t.building_id = #{buildingId}
|
|
@@ -314,7 +314,7 @@
|
314
|
314
|
and t.target_id = #{targetId}
|
315
|
315
|
</if>
|
316
|
316
|
<if test="targetType != null and targetType != ''">
|
317
|
|
- and (case when #{targetType} = 'activity' then t.target_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.target_type = #{targetType}
|
|
317
|
+ and (case when #{targetType} = 'activity' then t.event_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.event_type = #{targetType}
|
318
|
318
|
end)
|
319
|
319
|
</if>
|
320
|
320
|
<if test="channelId != null and channelId != ''">
|
|
@@ -374,7 +374,7 @@
|
374
|
374
|
and t.target_id = #{targetId}
|
375
|
375
|
</if>
|
376
|
376
|
<if test="targetType != null and targetType != ''">
|
377
|
|
- and (case when #{targetType} = 'activity' then t.target_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.target_type = #{targetType}
|
|
377
|
+ and (case when #{targetType} = 'activity' then t.event_type = 'dynamic' when #{targetType} = 'h5' then t.event_type = 'h5' else t.event_type = #{targetType}
|
378
|
378
|
end)
|
379
|
379
|
</if>
|
380
|
380
|
<if test="buildingId != null and buildingId != ''">
|