解决用户被禁用之后单据不展示的bug
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
select ah.*, s.supplier OrganName, p.Name HandsPersonName, u.username userName, a.Name AccountName
|
||||
from jsh_account_head ah
|
||||
left join jsh_supplier s on ah.organ_id=s.id and ifnull(s.delete_Flag,'0') !='1'
|
||||
left join jsh_user u on ah.creator=u.id and ifnull(u.Status,'0') ='0'
|
||||
left join jsh_user u on ah.creator=u.id and ifnull(u.Status,'0') !='1'
|
||||
left join jsh_person p on ah.hands_person_id=p.id and ifnull(p.delete_Flag,'0') !='1'
|
||||
left join jsh_account a on ah.account_id=a.id and ifnull(a.delete_Flag,'0') !='1'
|
||||
where 1=1
|
||||
|
||||
Reference in New Issue
Block a user