Quellcode durchsuchen

1.控制台业务数据保险公司调整详情

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

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

@@ -2443,7 +2443,7 @@
         WHERE
         agree.id IS NOT NULL
         and  iac.orderstatus = '3'
-        and  ifa.auditstatus = '2'
+        and  ifa.auditstatus != '2'
         <if test="vo.companyId  != null  and  vo.companyId!='' ">
             and  agree.insurance_company_id = #{vo.companyId}
         </if>
@@ -2499,8 +2499,10 @@
         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
         WHERE
         agree.id IS NOT NULL
+        and  ifa.auditstatus != '2'
         <if test="vo.companyId  != null  and  vo.companyId!='' ">
           and  agree.insurance_company_id = #{vo.companyId}
         </if>