Quellcode durchsuchen

1.控制台业务数据关联审核表去除驳回

wuhp vor 1 Jahr
Ursprung
Commit
22133e65cc
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

+ 4 - 4
src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

@@ -2301,7 +2301,7 @@
         ins_area_company iac
         LEFT JOIN ptl_agreement agree ON iac.agreement_id = agree.id
         LEFT JOIN ins_orders  io  on  io.orderno  = iac.orderno
-        LEFT JOIN  ins_fee_audit ifa  ON ifa.orderno = io.orderno
+        LEFT JOIN ins_fee_audit ifa  on ifa.ins_order_no =iac.id
         LEFT JOIN esm_ins_company ins ON agree.partner_companies_id = ins.id
         WHERE
         agree.id IS NOT NULL
@@ -2385,7 +2385,7 @@
         ins_area_company iac
         LEFT JOIN ptl_agreement agree ON iac.agreement_id = agree.id
         LEFT JOIN ins_orders  io  on  io.orderno  = iac.orderno
-        LEFT JOIN  ins_fee_audit ifa  ON ifa.orderno = io.orderno
+        LEFT JOIN ins_fee_audit ifa  on ifa.ins_order_no =iac.id
         WHERE
         agree.id IS NOT NULL
         and  iac.orderstatus = '3'
@@ -2439,7 +2439,7 @@
         ins_area_company iac
         LEFT JOIN ptl_agreement agree ON iac.agreement_id = agree.id
         LEFT JOIN ins_orders  io  on  io.orderno  = iac.orderno
-        LEFT JOIN  ins_fee_audit ifa  ON ifa.orderno = io.orderno
+        LEFT JOIN ins_fee_audit ifa  on ifa.ins_order_no =iac.id
         WHERE
         agree.id IS NOT NULL
         and  iac.orderstatus = '3'
@@ -2499,7 +2499,7 @@
         LEFT JOIN ptl_agreement agree ON iac.agreement_id = agree.id
         LEFT JOIN ins_orders  io  on  io.orderno  = iac.orderno
         LEFT JOIN esm_ins_company ins ON agree.partner_companies_id = ins.id
-        LEFT JOIN  ins_fee_audit ifa  ON ifa.orderno = io.orderno
+        LEFT JOIN ins_fee_audit ifa  on ifa.ins_order_no =iac.id
         WHERE
         agree.id IS NOT NULL
         and  ifa.auditstatus != '2'