修改bug
This commit is contained in:
parent
e4d23359aa
commit
e40c095c1e
|
|
@ -15,7 +15,7 @@
|
||||||
from sys_depart d
|
from sys_depart d
|
||||||
left join nu_org_apply_info o on d.id = o.pk_id
|
left join nu_org_apply_info o on d.id = o.pk_id
|
||||||
left join nu_biz_suppliers_org s on d.org_code = s.org_code and s.iz_history = 'N' and s.open_id = #{openId}
|
left join nu_biz_suppliers_org s on d.org_code = s.org_code and s.iz_history = 'N' and s.open_id = #{openId}
|
||||||
where 1=1 and d.status = '1' and d.del_flag = '0'
|
where 1=1 and d.status = '1' and o.`status` = '2' and d.del_flag = '0'
|
||||||
<if test="orgCode != null and orgCode != ''">
|
<if test="orgCode != null and orgCode != ''">
|
||||||
and d.org_code IN
|
and d.org_code IN
|
||||||
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
|
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue