傅行帆 3 vuotta sitten
vanhempi
commit
a91eb274bf

+ 1
- 1
src/main/java/com/yunzhi/marketing/controller/TaLiveActivityController.java Näytä tiedosto

@@ -334,7 +334,7 @@ public class TaLiveActivityController extends BaseController {
334 334
                                                      @RequestParam(value = "name", required = false) String name,
335 335
                                                      @RequestParam(value = "process", required = false) Integer process,
336 336
                                                      @RequestParam(value = "newHouse", required = false) Boolean newHouse,
337
-                                                     @RequestParam(value = "isHome", required = false) Integer isHome,
337
+                                                     @RequestParam(value = "isHome", required = false) Boolean isHome,
338 338
                                                      HttpServletRequest request) {
339 339
         if (process != null) {
340 340
             return getPureLiveActivity(pageNum, pageSize, cityId, buildingId, name, process, request);

+ 1
- 1
src/main/java/com/yunzhi/marketing/mapper/TaLiveActivityMapper.java Näytä tiedosto

@@ -57,7 +57,7 @@ public interface TaLiveActivityMapper extends BaseMapper<TaLiveActivity> {
57 57
                                                     @Param("orgId") Integer orgId,
58 58
                                                     @Param("name") String name,
59 59
                                                     @Param("newHouse") Boolean newHouse,
60
-                                                    @Param("isHome") Integer isHome);
60
+                                                    @Param("isHome") Boolean isHome);
61 61
 
62 62
     IPage<TaLiveActivity> getWxPureLiveActivityList(IPage<TaLiveActivity> pg,
63 63
                                                     @Param("cityId") Integer cityId,

+ 1
- 1
src/main/java/com/yunzhi/marketing/service/ITaLiveActivityService.java Näytä tiedosto

@@ -73,7 +73,7 @@ public interface ITaLiveActivityService extends IService<TaLiveActivity> {
73 73
      * @param name
74 74
      * @return
75 75
      */
76
-    IPage<LiveAndVideoVO> getWxLiveActivityAndVideo(IPage<LiveAndVideoVO> pg, Integer orgId, Integer cityId, String buildingId, String name, Boolean newHouse,Integer isHome);
76
+    IPage<LiveAndVideoVO> getWxLiveActivityAndVideo(IPage<LiveAndVideoVO> pg, Integer orgId, Integer cityId, String buildingId, String name, Boolean newHouse,Boolean isHome);
77 77
 
78 78
     IPage<TaLiveActivity> getWxPureLiveActivityList(IPage<TaLiveActivity> pg, Integer orgId, Integer cityId, String buildingId, String name, Integer process);
79 79
 }

+ 1
- 1
src/main/java/com/yunzhi/marketing/service/impl/TaLiveActivityServiceImpl.java Näytä tiedosto

@@ -210,7 +210,7 @@ public class TaLiveActivityServiceImpl extends ServiceImpl<TaLiveActivityMapper,
210 210
      * @return
211 211
      */
212 212
     @Override
213
-    public IPage<LiveAndVideoVO> getWxLiveActivityAndVideo(IPage<LiveAndVideoVO> pg, Integer orgId, Integer cityId, String buildingId, String name, Boolean newHouse,Integer isHome) {
213
+    public IPage<LiveAndVideoVO> getWxLiveActivityAndVideo(IPage<LiveAndVideoVO> pg, Integer orgId, Integer cityId, String buildingId, String name, Boolean newHouse,Boolean isHome) {
214 214
         IPage<LiveAndVideoVO> wxLiveActivityAndVideo = taLiveActivityMapper.getWxLiveActivityAndVideo(pg, cityId, buildingId, orgId, name, newHouse, isHome);
215 215
         return wxLiveActivityAndVideo;
216 216
     }

+ 2
- 2
src/main/resources/mapper/TaLiveActivityMapper.xml Näytä tiedosto

@@ -106,7 +106,7 @@
106 106
         <if test="newHouse">
107 107
             and t.is_new_house = #{newHouse}
108 108
         </if>
109
-        <if test="isHome != null">
109
+        <if test="isHome">
110 110
             and t.is_home = #{isHome}
111 111
         </if>
112 112
     UNION
@@ -137,7 +137,7 @@
137 137
         <if test="newHouse">
138 138
             and t.is_new_house = #{newHouse}
139 139
         </if>
140
-        <if test="isHome != null">
140
+        <if test="isHome">
141 141
             and t.is_home = #{isHome}
142 142
         </if>
143 143
     </select>

+ 738
- 738
src/main/resources/mapper/TaPersonMapper.xml
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml Näytä tiedosto

@@ -843,7 +843,7 @@ FROM
843 843
             </if>
844 844
         </if>
845 845
         <if test="type == 'clinch'">
846
-            AND t.STATUS = 4
846
+            AND t.STATUS in (4,5)
847 847
         </if>
848 848
     </select>
849 849