|
|
@@ -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>
|