Browse Source

修复公司

lihui001 3 years ago
parent
commit
f2ab66408c

+ 2 - 0
zoniot-rmcp/zoniot-rmcp-core/src/main/java/com/zcxk/rmcp/core/mapper/CommunityMapper.xml

@@ -260,6 +260,8 @@
     where
     sc.status = 1
     <if test="dto.name != null and dto.name != ''"> and sc.name like concat('%',#{dto.name} ,'%')</if>
+    <if test="dto.companyOrgId != null"> and sc.company_org_id = #{dto.companyOrgId}</if>
+    <if test="dto.deptOrgId != null"> and sc.dept_org_id = #{dto.deptOrgId}</if>
     <include refid="permissionCondition"/>
     order by sc.create_date desc
   </select>