Commit f319a9fb by jianan

续年佣金计算-缴费年限11

parent 64d5d83e
......@@ -37,7 +37,7 @@
from
(SELECT id, policy_no, order_price, product_id, commission_rate, commission_amount, commission_check_status,
plan_id, insurer_id, order_date, commission_check_at, config_level, cover_term,
CONCAT(payment_term, (case payment_term_unit when 'Y' then '年' when 'M' then '月' else '日' END)) payTerm,
CONCAT(payment_term, (case payment_term_unit when 'Y' then '年' when 'M' then '月' when 'D' then '日' else '年' END)) payTerm,
cover_term_type coverageTerm
from ag_po_order t
where t.status in (3,4) and 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