傅行帆 5 年之前
父節點
當前提交
df9c015d41
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/main/resources/mapper/HelpActivityMapper.xml

+ 2
- 2
src/main/resources/mapper/HelpActivityMapper.xml 查看文件

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