Commit 1ebbd290 by Mahjong

保单出单来源3

parent 42b5c2e2
...@@ -235,13 +235,14 @@ ...@@ -235,13 +235,14 @@
o.broker_customer_id, o.broker_customer_id,
o.ydBranchId, o.ydBranchId,
o.policy_tracking_status policyTrackingStatus, o.policy_tracking_status policyTrackingStatus,
o.policy_input_source policyInputSource,
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,policy_tracking_status, payment_term, payment_term_unit,broker_customer_id,policy_tracking_status,policy_input_source,
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