修改bug
This commit is contained in:
parent
db2eba863d
commit
e7b8f0abcd
|
|
@ -12,9 +12,9 @@
|
|||
o.org_address,
|
||||
s.`status` as suppliers_status
|
||||
from sys_depart d
|
||||
left join nu_org_apply_info o on d.id = o.pk_id and o.status = '2'
|
||||
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}
|
||||
where 1=1 and d.server_url is not null
|
||||
where 1=1 and d.server_url is not null and o.status = '2' and d.del_flag = '0'
|
||||
<if test="orgCode != null and orgCode != ''">
|
||||
and d.org_code IN
|
||||
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
|
||||
|
|
@ -33,12 +33,13 @@
|
|||
d.server_url,
|
||||
o.org_leader,
|
||||
o.org_leader_phone,
|
||||
o.org_address,
|
||||
s.`status` as suppliers_status
|
||||
o.org_address
|
||||
,s.`status` as suppliers_status
|
||||
from sys_depart d
|
||||
left join nu_org_apply_info o on d.id = o.pk_id and o.status = '2'
|
||||
left join nu_biz_suppliers_org s on d.org_code = s.org_code and s.iz_history = 'N'
|
||||
where 1=1 and s.open_id = #{openId} and d.server_url is not null
|
||||
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
|
||||
where 1=1 and o.status = '2' and d.del_flag = '0' and d.server_url is not null and s.iz_history = 'N'
|
||||
and s.open_id = #{openId}
|
||||
<if test="orgCode != null and orgCode != ''">
|
||||
and d.org_code IN
|
||||
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
|
||||
|
|
|
|||
Loading…
Reference in New Issue