傅行帆 5 lat temu
rodzic
commit
127e90b680

+ 2
- 2
src/main/resources/mapper/HelpActivityMapper.xml Wyświetl plik

66
 			FROM
66
 			FROM
67
 				ta_help_activity a
67
 				ta_help_activity a
68
 				WHERE
68
 				WHERE
69
-                    a.org_id =#{orgId}
69
+                    a.org_id =#{orgId} and a.`status` = 1
70
                 <if test="buildingId  == null or  buildingId ==''">
70
                 <if test="buildingId  == null or  buildingId ==''">
71
                   and  a.is_main = 1
71
                   and  a.is_main = 1
72
                 </if>
72
                 </if>
88
 				FROM
88
 				FROM
89
 					ta_share_activity s
89
 					ta_share_activity s
90
 					WHERE
90
 					WHERE
91
-                    s.org_id =#{orgId}
91
+                    s.org_id =#{orgId} and s.`status` = 1
92
                 <if test="buildingId  == null or  buildingId =='' ">
92
                 <if test="buildingId  == null or  buildingId =='' ">
93
                     and  s.sort = 1
93
                     and  s.sort = 1
94
                 </if>
94
                 </if>