Commit 9058ba5e authored by lisong's avatar lisong

更新

parent de5167ba
......@@ -62,6 +62,7 @@
co.emergency_team_name AS name
FROM
cb_organization co
WHERE co.is_delete = 0
ORDER BY
co.sort
LIMIT 4
......@@ -80,7 +81,7 @@
FROM
cb_organization co
LEFT JOIN cb_organization_user cou ON co.sequence_nbr = cou.emergency_team_id
where co.biz_org_code like concat(#{bizOrgCode}, '%')
where co.biz_org_code like concat(#{bizOrgCode}, '%') and cou.is_delete = 0
ORDER BY co.sort
</select>
<select id="getOrganizationGroup" resultType="java.util.Map">
......@@ -105,7 +106,7 @@
FROM
cb_organization co
WHERE
co.biz_org_code LIKE concat( #{bizOrgCode}, '%' )
co.biz_org_code LIKE concat( #{bizOrgCode}, '%' ) and co.is_delete = 0
</select>
<select id="selectOrganizationUserList" resultType="com.yeejoin.amos.boot.module.jcs.api.dto.OrganizationUserExportDto">
SELECT
......@@ -116,7 +117,7 @@
cou.consultation_nub
FROM
cb_organization_user cou
where cou.is_delete = 0
</select>
<select id="selectMaxSort" resultType="java.lang.Integer">
SELECT IFNULL( MAX(sort),0) FROM cb_organization
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment