小程序企业列表
This commit is contained in:
parent
599c47a03e
commit
aaea59af89
|
|
@ -1072,12 +1072,11 @@
|
||||||
|
|
||||||
select sys.*,org.OrgName,bc.IndustryClassName
|
select sys.*,org.OrgName,bc.IndustryClassName
|
||||||
from SysEnterprise sys
|
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
|
left join BaseInClass bc on sys.work_class_id = bc.BaseInClassId
|
||||||
where sys.State='启用'
|
where sys.State='启用'
|
||||||
<if test="null != areaCode and '' != areaCode">
|
<if test="null != areaCode and '' != areaCode">
|
||||||
And ( sys.OrgCode = #{areaCode} or sys.street_code = #{areaCode}
|
AND FIND_IN_SET(#{areaCode},sys.area_path)
|
||||||
or sys.community_code = #{areaCode})
|
|
||||||
</if>
|
</if>
|
||||||
<if test="null != entName and '' != entName">
|
<if test="null != entName and '' != entName">
|
||||||
and sys.EntName like concat('%',#{entName},'%')
|
and sys.EntName like concat('%',#{entName},'%')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user