zhangyuewww 1 년 전
부모
커밋
16c2b8483b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/WarehousingOrderMapper.xml

+ 2 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/WarehousingOrderMapper.xml

@@ -304,7 +304,8 @@
         FROM payment_management pm
         LEFT JOIN contract_management_info cmi on cmi.contract_no=pm.contract_no and cmi.comp_id=pm.comp_id and cmi.delete_flag='0'
         LEFT JOIN warehouse_base_info wbi on wbi.comp_id=pm.comp_id and wbi.warehouse_name=pm.warehouse_name and wbi.delete_flag = '0'
-        LEFT JOIN identity_authentication_info iai on iai.comp_id=pm.comp_id and iai.customer_number_card=pm.customer_number_card and iai.delete_flag='0'
+        LEFT JOIN identity_authentication_info iai on iai.customer_number_card=pm.customer_number_card and iai.delete_flag='0'
+        left join common_company_identity cci on iai.id = cci.identity_id and cci.com_id=pm.comp_id and cci.delete_flag = '0'
         WHERE
             pm.delete_flag = '0'
             and pm.status !='待结算'