|
@@ -50,65 +50,66 @@
|
|
|
|
|
|
|
|
<select id="getNoPayList" resultMap="BaseResultMap">
|
|
<select id="getNoPayList" resultMap="BaseResultMap">
|
|
|
SELECT
|
|
SELECT
|
|
|
- id,
|
|
|
|
|
- orderno,
|
|
|
|
|
- agreement_id,
|
|
|
|
|
- api_type,
|
|
|
|
|
- orderstatus,
|
|
|
|
|
- company_id,
|
|
|
|
|
- inscompany,
|
|
|
|
|
- reqtxt,
|
|
|
|
|
- reptxt,
|
|
|
|
|
- jqapplyno,
|
|
|
|
|
- jqpolicyno,
|
|
|
|
|
- syapplyno,
|
|
|
|
|
- sypolicyno,
|
|
|
|
|
- cross_insurance,
|
|
|
|
|
- riskinfo,
|
|
|
|
|
- kindinfo,
|
|
|
|
|
- jqpremium,
|
|
|
|
|
- sypremium,
|
|
|
|
|
- jypremium,
|
|
|
|
|
- sumpremium,
|
|
|
|
|
- taxamount,
|
|
|
|
|
- jqdiscountrate,
|
|
|
|
|
- sydiscountrate,
|
|
|
|
|
- feerate,
|
|
|
|
|
- disrate,
|
|
|
|
|
- auditid,
|
|
|
|
|
- auditname,
|
|
|
|
|
- audittime,
|
|
|
|
|
- auditopinion,
|
|
|
|
|
- jqappoint,
|
|
|
|
|
- syappoint,
|
|
|
|
|
- createtime,
|
|
|
|
|
- pay_date,
|
|
|
|
|
- payment_link,
|
|
|
|
|
- ins_order_no,
|
|
|
|
|
- accident_info,
|
|
|
|
|
- attribution_id,
|
|
|
|
|
- tax_arrears,
|
|
|
|
|
- jq_start_date,
|
|
|
|
|
- jq_end_date,
|
|
|
|
|
- sy_start_date,
|
|
|
|
|
- sy_end_date,
|
|
|
|
|
- accident_str_info,
|
|
|
|
|
- score,
|
|
|
|
|
- jq_score,
|
|
|
|
|
- sy_score,
|
|
|
|
|
- loss_ration,
|
|
|
|
|
- jq_loss_ration,
|
|
|
|
|
- sy_loss_ration,
|
|
|
|
|
- inside_order_status,
|
|
|
|
|
- inside_pay_time
|
|
|
|
|
|
|
+ iac.id,
|
|
|
|
|
+ iac.orderno,
|
|
|
|
|
+ iac.agreement_id,
|
|
|
|
|
+ iac.api_type,
|
|
|
|
|
+ iac.orderstatus,
|
|
|
|
|
+ iac.company_id,
|
|
|
|
|
+ iac.inscompany,
|
|
|
|
|
+ iac.reqtxt,
|
|
|
|
|
+ iac.reptxt,
|
|
|
|
|
+ iac.jqapplyno,
|
|
|
|
|
+ iac.jqpolicyno,
|
|
|
|
|
+ iac.syapplyno,
|
|
|
|
|
+ iac.sypolicyno,
|
|
|
|
|
+ iac.cross_insurance,
|
|
|
|
|
+ iac.riskinfo,
|
|
|
|
|
+ iac.kindinfo,
|
|
|
|
|
+ iac.jqpremium,
|
|
|
|
|
+ iac.sypremium,
|
|
|
|
|
+ iac.jypremium,
|
|
|
|
|
+ iac.sumpremium,
|
|
|
|
|
+ iac.taxamount,
|
|
|
|
|
+ iac.jqdiscountrate,
|
|
|
|
|
+ iac.sydiscountrate,
|
|
|
|
|
+ iac.feerate,
|
|
|
|
|
+ iac.disrate,
|
|
|
|
|
+ iac.auditid,
|
|
|
|
|
+ iac.auditname,
|
|
|
|
|
+ iac.audittime,
|
|
|
|
|
+ iac.auditopinion,
|
|
|
|
|
+ iac.jqappoint,
|
|
|
|
|
+ iac.syappoint,
|
|
|
|
|
+ iac.createtime,
|
|
|
|
|
+ iac.pay_date,
|
|
|
|
|
+ iac.payment_link,
|
|
|
|
|
+ iac.ins_order_no,
|
|
|
|
|
+ iac.accident_info,
|
|
|
|
|
+ iac.attribution_id,
|
|
|
|
|
+ iac.tax_arrears,
|
|
|
|
|
+ iac.jq_start_date,
|
|
|
|
|
+ iac.jq_end_date,
|
|
|
|
|
+ iac.sy_start_date,
|
|
|
|
|
+ iac.sy_end_date,
|
|
|
|
|
+ iac.accident_str_info,
|
|
|
|
|
+ iac.score,
|
|
|
|
|
+ iac.jq_score,
|
|
|
|
|
+ iac.sy_score,
|
|
|
|
|
+ iac.loss_ration,
|
|
|
|
|
+ iac.jq_loss_ration,
|
|
|
|
|
+ iac.sy_loss_ration,
|
|
|
|
|
+ iac.inside_order_status,
|
|
|
|
|
+ iac.inside_pay_time
|
|
|
FROM
|
|
FROM
|
|
|
- ins_area_company
|
|
|
|
|
|
|
+ ins_orders io
|
|
|
|
|
+ LEFT JOIN ins_area_company iac
|
|
|
|
|
+ ON iac.orderno = io.orderno
|
|
|
WHERE
|
|
WHERE
|
|
|
- orderstatus = 2
|
|
|
|
|
- AND
|
|
|
|
|
- inside_order_status = 0
|
|
|
|
|
|
|
+ io.orderstatus != 3
|
|
|
|
|
+ AND iac.orderstatus = 2
|
|
|
AND
|
|
AND
|
|
|
- createtime between #{startTime} and #{endTime}
|
|
|
|
|
|
|
+ iac.createtime between #{startTime} and #{endTime}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getNoSyncList" resultMap="BaseResultMap">
|
|
<select id="getNoSyncList" resultMap="BaseResultMap">
|