dingxin vor 5 Jahren
Ursprung
Commit
773b7e56ad
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      src/main/resources/mapper/HelpActivityMapper.xml

+ 2
- 2
src/main/resources/mapper/HelpActivityMapper.xml Datei anzeigen

@@ -63,7 +63,7 @@
63 63
 				ta_help_activity a
64 64
 				WHERE
65 65
                     a.org_id =#{orgId}
66
-                <if test="buildingId  == null ">
66
+                <if test="buildingId  == null or  buildingId ==''">
67 67
                   and  a.is_main = 1
68 68
                 </if>
69 69
                 <if test="cityID != null and cityID != ''">
@@ -84,7 +84,7 @@
84 84
 					ta_share_activity s
85 85
 					WHERE
86 86
                     s.org_id =#{orgId}
87
-                <if test="buildingId  == null ">
87
+                <if test="buildingId  == null or  buildingId =='' ">
88 88
                     and  s.sort = 1
89 89
                 </if>
90 90
                 <if test="cityID != null and cityID != ''">