傅行帆 5 jaren geleden
bovenliggende
commit
8bf76c4499
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      src/main/resources/mapper/HelpActivityMapper.xml

+ 2
- 2
src/main/resources/mapper/HelpActivityMapper.xml Bestand weergeven

@@ -69,7 +69,7 @@
69 69
 				ta_help_activity a
70 70
 				WHERE
71 71
                     a.org_id =#{orgId}
72
-                <if test="buildingId  == null ">
72
+                <if test="buildingId  == null or buildingId == ''">
73 73
                   and  a.is_main = 1
74 74
                 </if>
75 75
                 <if test="cityID != null and cityID != ''">
@@ -90,7 +90,7 @@
90 90
 					ta_share_activity s
91 91
 					WHERE
92 92
                     s.org_id =#{orgId}
93
-                <if test="buildingId  == null ">
93
+                <if test="buildingId  == null or buildingId == ''">
94 94
                     and  s.sort = 1
95 95
                 </if>
96 96
                 <if test="cityID != null and cityID != ''">