修改bug

This commit is contained in:
yangjun 2026-02-24 14:35:18 +08:00
parent a90f689a4f
commit aa9c072a58
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
from sys_depart d
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 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 != ''">
and d.org_code IN
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
@ -69,7 +69,7 @@
from sys_depart d
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'
where 1=1 and d.status = '1' and d.del_flag = '0'
and s.open_id = #{openId}
order by s.create_time desc
</select>

View File

@ -99,7 +99,7 @@
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
<where>
o.status = '2'
d.status = '1'
and d.del_flag = '0'
AND eo.open_id = #{openId}
<if test="izHistory != null and izHistory != ''">