Commit f49cb238 authored by chenzhao's avatar chenzhao

修改bug

parent 5f90a786
......@@ -23,6 +23,7 @@
u.sequence_nbr sequenceNbr,
u.biz_org_name bizOrgName,
u.biz_org_code bizOrgCode,
u.parent_id parent_id,
g.*
FROM
cb_org_usr u
......@@ -72,6 +73,9 @@
<if test="map.amosOrgId != null and map.amosOrgId != '-1'">
AND u.amos_org_id like concat(#{map.amosOrgId}, '%')
</if>
<if test="map.company != null and map.company != '-1'">
AND u.parent_id = #{map.company}
</if>
GROUP BY
u.sequence_nbr ,
u.biz_org_name ,
......@@ -141,7 +145,7 @@
AND u.amos_org_code like concat('%',#{map.amosOrgCode}, '%')
</if>
<if test="map.company != null and map.company != '-1'">
AND u.parent_id = #{company}
AND u.parent_id = #{map.company}
</if>
GROUP BY
u.sequence_nbr ,
......
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