修改bug
This commit is contained in:
parent
a90f689a4f
commit
aa9c072a58
|
|
@ -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 o.status = '2' and d.del_flag = '0'
|
where 1=1 and d.status = '1' 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=")">
|
||||||
|
|
@ -69,7 +69,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
|
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'
|
where 1=1 and d.status = '1' and d.del_flag = '0'
|
||||||
and s.open_id = #{openId}
|
and s.open_id = #{openId}
|
||||||
order by s.create_time desc
|
order by s.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@
|
||||||
inner join nu_org_apply_info o on d.id = o.pk_id
|
inner join nu_org_apply_info o on d.id = o.pk_id
|
||||||
inner join nu_biz_employees_org eo on d.org_code = eo.org_code
|
inner join nu_biz_employees_org eo on d.org_code = eo.org_code
|
||||||
<where>
|
<where>
|
||||||
o.status = '2'
|
d.status = '1'
|
||||||
and d.del_flag = '0'
|
and d.del_flag = '0'
|
||||||
AND eo.open_id = #{openId}
|
AND eo.open_id = #{openId}
|
||||||
<if test="izHistory != null and izHistory != ''">
|
<if test="izHistory != null and izHistory != ''">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue