修改bug
This commit is contained in:
parent
e40c095c1e
commit
e591c48308
|
|
@ -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 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}
|
||||
order by s.create_time desc
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
d.contract_note,
|
||||
d.franchise_time
|
||||
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 != ''">
|
||||
AND d.org_code IN
|
||||
<foreach item="item" collection="orgCode.split(',')" open="(" separator="," close=")">
|
||||
|
|
|
|||
Loading…
Reference in New Issue