Commit d50744be authored by litengwei's avatar litengwei

代码提交

parent 3da3c3df
...@@ -119,6 +119,7 @@ ...@@ -119,6 +119,7 @@
u.amos_org_id amosOrgId, u.amos_org_id amosOrgId,
u.biz_org_code bizOrgCode, u.biz_org_code bizOrgCode,
u.parent_id parentId, u.parent_id parentId,
(select bizOrgName from cb_org_usr where sequence_nbr = u.parent_id) as companyName,
g.* g.*
FROM FROM
cb_org_usr u cb_org_usr u
...@@ -1314,7 +1315,7 @@ LEFT JOIN ( ...@@ -1314,7 +1315,7 @@ LEFT JOIN (
LIMIT #{map.pageNum}, #{map.pageSize} LIMIT #{map.pageNum}, #{map.pageSize}
</select> </select>
<select id="selectStaticFire" resultType="java.util.Map"> <select id="selectStaticFire" resultType="java.util.Map">
SELECT ( count( postName )/( SELECT count(*) AS count FROM cb_org_usr a WHERE is_delete = 0 AND biz_org_type = 'PERSON' SELECT count( postName ) as num,( count( postName )/( SELECT count(*) AS count FROM cb_org_usr a WHERE is_delete = 0 AND biz_org_type = 'PERSON'
AND biz_org_code like concat(#{bizOrgCode}, '%') AND biz_org_code like concat(#{bizOrgCode}, '%')
))* 100 AS percent, postName ))* 100 AS percent, postName
FROM FROM
...@@ -1365,7 +1366,7 @@ LEFT JOIN ( ...@@ -1365,7 +1366,7 @@ LEFT JOIN (
postName postName
</select> </select>
<select id="selectStaticYw" resultType="java.util.Map"> <select id="selectStaticYw" resultType="java.util.Map">
SELECT ( count( postName )/( SELECT count(*) AS count FROM cb_org_usr a WHERE is_delete = 0 AND biz_org_type = 'PERSON' SELECT count( postName ) as num, (count( postName )/( SELECT count(*) AS count FROM cb_org_usr a WHERE is_delete = 0 AND biz_org_type = 'PERSON'
AND biz_org_code like concat(#{bizOrgCode}, '%') AND biz_org_code like concat(#{bizOrgCode}, '%')
))* 100 AS percent, postName ))* 100 AS percent, postName
FROM FROM
......
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