小程序企业列表

This commit is contained in:
韩国东 2022-12-29 16:49:37 +08:00
parent 599c47a03e
commit aaea59af89

View File

@ -1072,12 +1072,11 @@
select sys.*,org.OrgName,bc.IndustryClassName
from SysEnterprise sys
left join SysOrg org on sys.OrgCode = org.OrgCode
left join SysOrg org on sys.area_code = org.OrgCode
left join BaseInClass bc on sys.work_class_id = bc.BaseInClassId
where sys.State='启用'
<if test="null != areaCode and '' != areaCode">
And ( sys.OrgCode = #{areaCode} or sys.street_code = #{areaCode}
or sys.community_code = #{areaCode})
AND FIND_IN_SET(#{areaCode},sys.area_path)
</if>
<if test="null != entName and '' != entName">
and sys.EntName like concat('%',#{entName},'%')