修改bug

This commit is contained in:
yangjun 2026-02-24 15:34:17 +08:00
parent e40c095c1e
commit e591c48308
2 changed files with 2 additions and 2 deletions

View File

@ -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 d.status = '1' and d.del_flag = '0' where 1=1 and d.status = '1' and o.`status` = '2' 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>

View File

@ -45,7 +45,7 @@
d.contract_note, d.contract_note,
d.franchise_time d.franchise_time
from sys_depart d from sys_depart d
<where>d.del_flag = '0' and d.status = '1' <where>d.del_flag = '0' and d.status = '1' and o.`status` = '2'
<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=")">