Commit 9058ba5e authored by lisong's avatar lisong

更新

parent de5167ba
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
co.emergency_team_name AS name co.emergency_team_name AS name
FROM FROM
cb_organization co cb_organization co
WHERE co.is_delete = 0
ORDER BY ORDER BY
co.sort co.sort
LIMIT 4 LIMIT 4
...@@ -80,7 +81,7 @@ ...@@ -80,7 +81,7 @@
FROM FROM
cb_organization co cb_organization co
LEFT JOIN cb_organization_user cou ON co.sequence_nbr = cou.emergency_team_id 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 ORDER BY co.sort
</select> </select>
<select id="getOrganizationGroup" resultType="java.util.Map"> <select id="getOrganizationGroup" resultType="java.util.Map">
...@@ -105,7 +106,7 @@ ...@@ -105,7 +106,7 @@
FROM FROM
cb_organization co cb_organization co
WHERE WHERE
co.biz_org_code LIKE concat( #{bizOrgCode}, '%' ) co.biz_org_code LIKE concat( #{bizOrgCode}, '%' ) and co.is_delete = 0
</select> </select>
<select id="selectOrganizationUserList" resultType="com.yeejoin.amos.boot.module.jcs.api.dto.OrganizationUserExportDto"> <select id="selectOrganizationUserList" resultType="com.yeejoin.amos.boot.module.jcs.api.dto.OrganizationUserExportDto">
SELECT SELECT
...@@ -116,7 +117,7 @@ ...@@ -116,7 +117,7 @@
cou.consultation_nub cou.consultation_nub
FROM FROM
cb_organization_user cou cb_organization_user cou
where cou.is_delete = 0
</select> </select>
<select id="selectMaxSort" resultType="java.lang.Integer"> <select id="selectMaxSort" resultType="java.lang.Integer">
SELECT IFNULL( MAX(sort),0) FROM cb_organization 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