Commit dd27b922 by Mahjong

来佣比对增加保单跟踪状态02

parent 0a4904cb
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
oc.practitioner_id practitionerId, oc.practitioner_id practitionerId,
'' as ydBranchId, '' as ydBranchId,
'' as broker_customer_id, '' as broker_customer_id,
'' as policyTrackingStatus,
'' as coverageTerm, '' as coverageTerm,
'' as payTerm '' as payTerm
from ag_po_order_commission oc from ag_po_order_commission oc
...@@ -232,14 +232,14 @@ ...@@ -232,14 +232,14 @@
oc.practitioner_id practitionerId, oc.practitioner_id practitionerId,
o.broker_customer_id, o.broker_customer_id,
o.ydBranchId, o.ydBranchId,
o.policy_tracking_status policyTrackingStatus
o.cover_term_type coverageTerm, o.cover_term_type coverageTerm,
CONCAT(o.payment_term, (case o.payment_term_unit when 'Y' then '年' when 'M' then '月' else '年' END)) payTerm CONCAT(o.payment_term, (case o.payment_term_unit when 'Y' then '年' when 'M' then '月' else '年' END)) payTerm
from ag_po_order_commission oc from ag_po_order_commission oc
inner join inner join
(SELECT id, order_price, product_id, (SELECT id, order_price, product_id,
plan_id, insurer_id, order_date, config_level, cover_term, insurer_branch_id ydBranchId, plan_id, insurer_id, order_date, config_level, cover_term, insurer_branch_id ydBranchId,
payment_term, payment_term_unit,broker_customer_id, payment_term, payment_term_unit,broker_customer_id,policy_tracking_status,
cover_term_type cover_term_type
from ag_po_order t from ag_po_order t
where t.status=3 and t.payment_status=3 and t.policy_no is not null where t.status=3 and t.payment_status=3 and t.policy_no is not null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment