傅行帆 5 yıl önce
ebeveyn
işleme
ce9665a8d8

+ 1
- 1
src/main/java/com/huiju/estateagents/service/impl/TaChannelServiceImpl.java Dosyayı Görüntüle

143
                 case "news":
143
                 case "news":
144
                     message = "资讯";
144
                     message = "资讯";
145
                     break;
145
                     break;
146
-                case "salesBatch":
146
+                case "house":
147
                     message = "销售批次";
147
                     message = "销售批次";
148
                     break;
148
                     break;
149
             }
149
             }

+ 6
- 6
src/main/resources/mapper/TaChannelMapper.xml Dosyayı Görüntüle

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