Ver código fonte

问题处理

yzc 1 ano atrás
pai
commit
a722a731aa

+ 2 - 2
hx-account/src/main/resources/mapper/account/AccountRunningWaterMapper.xml

@@ -13,7 +13,7 @@
                    FROM account_payment t1
                             LEFT JOIN account_request_funds t2 ON t1.business_id = t2.id
                             LEFT JOIN account_request_funds_detail t3 ON t2.id = t3.account_request_funds_id
-                            LEFT JOIN `bytesailing_sale`.contract t4 ON t3.contract_id = t4.id
+                            LEFT JOIN contract t4 ON t3.contract_id = t4.id
                        --采购付款来源
                             LEFT JOIN pay pa ON t1.business_id = pa.id
                             LEFT JOIN pay_detail pad
@@ -33,7 +33,7 @@
                                                                                           LEFT JOIN account_request_funds t2
                                                                                                     ON t1.business_id = t2.id
                                                                                           LEFT JOIN account_request_funds_detail t3 ON t2.id = t3.account_request_funds_id
-                                                                                          LEFT JOIN `bytesailing_sale`.contract t4
+                                                                                          LEFT JOIN contract t4
                                                                                                     ON t3.contract_id = t4.id
                                                                                      --采购付款来源
                                                                                           LEFT JOIN pay pa ON t1.business_id = pa.id

+ 1 - 1
hx-account/src/main/resources/mapper/write/WriteOffRecordsMapper.xml

@@ -18,7 +18,7 @@
                   (SELECT GROUP_CONCAT(t4.`code`)
                    FROM account_request_funds t2
                             LEFT JOIN account_request_funds_detail t3 ON t2.id = t3.account_request_funds_id
-                            LEFT JOIN `bytesailing_sale`.contract t4 ON t3.contract_id = t4.id
+                            LEFT JOIN contract t4 ON t3.contract_id = t4.id
                    where ap.business_id = t2.id),
                   (SELECT GROUP_CONCAT(if(c.`code` is null, p.`code`, c.`code`))
                    FROM pay pa