Commit e02b6898 authored by chenzhao's avatar chenzhao

修改bug

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