Commit e02b6898 authored by chenzhao's avatar chenzhao

修改bug

parent 7fcade73
...@@ -759,6 +759,7 @@ LEFT JOIN ( ...@@ -759,6 +759,7 @@ LEFT JOIN (
FROM FROM
cb_org_usr usr cb_org_usr usr
<where> <where>
usr.is_delete = false
<choose> <choose>
<when test="type != null and type != ''"> <when test="type != null and type != ''">
AND usr.biz_org_type = #{type} AND usr.biz_org_type = #{type}
...@@ -767,7 +768,9 @@ LEFT JOIN ( ...@@ -767,7 +768,9 @@ LEFT JOIN (
AND ( usr.biz_org_type = 'COMPANY' OR usr.biz_org_type = 'DEPARTMENT') AND ( usr.biz_org_type = 'COMPANY' OR usr.biz_org_type = 'DEPARTMENT')
</otherwise> </otherwise>
</choose> </choose>
and usr.is_delete = false <if test="bizOrgCode != null and bizOrgCode != ''">
AND usr.biz_org_code LIKE CONCAT(#{bizOrgCode},'%')
</if>
order by usr.rec_date order by usr.rec_date
</where> </where>
</select> </select>
......
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