diff --git a/jshERP-boot/src/main/resources/mapper_xml/AccountHeadMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/AccountHeadMapperEx.xml index 37969fd8..befeefa2 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/AccountHeadMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/AccountHeadMapperEx.xml @@ -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 diff --git a/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml index f7add966..cd57bf2a 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/DepotHeadMapperEx.xml @@ -50,7 +50,7 @@ select distinct dh.*, s.supplier OrganName, u.username userName, a.name AccountName from jsh_depot_head dh left join jsh_supplier s on dh.organ_id=s.id and ifnull(s.delete_Flag,'0') !='1' - left join jsh_user u on dh.creator=u.id and ifnull(u.Status,'0') ='0' + left join jsh_user u on dh.creator=u.id and ifnull(u.Status,'0') !='1' left join jsh_account a on dh.account_id=a.id and ifnull(a.delete_Flag,'0') !='1' left join jsh_depot_item di on dh.id = di.header_id and ifnull(di.delete_flag,'0') !='1' left join jsh_material m on di.material_id = m.id and ifnull(m.delete_flag,'0') !='1' @@ -537,7 +537,7 @@ select distinct dh.*, s.supplier OrganName, u.username userName from jsh_depot_head dh left join jsh_supplier s on dh.organ_id=s.id and ifnull(s.delete_Flag,'0') !='1' - left join jsh_user u on dh.creator=u.id and ifnull(u.Status,'0') ='0' + left join jsh_user u on dh.creator=u.id and ifnull(u.Status,'0') !='1' left join jsh_depot_item di on dh.id = di.header_id and ifnull(di.delete_flag,'0') !='1' left join jsh_material m on di.material_id = m.id and ifnull(m.delete_flag,'0') !='1' where 1=1 diff --git a/jshERP-boot/src/main/resources/mapper_xml/LogMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/LogMapperEx.xml index cb208ae0..5b6a3b59 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/LogMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/LogMapperEx.xml @@ -8,7 +8,7 @@