Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
e099a29f
Commit
e099a29f
authored
Nov 25, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品险种
parent
c125ff6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
+5
-3
yd-api/src/main/resources/mapper/order/PoOrderMapper.xml
+5
-1
No files found.
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
View file @
e099a29f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
f.name,
f.name,
f.practitioner_type_id practitionerTypeId,
f.practitioner_type_id practitionerTypeId,
IFNULL(p.categoryName,a.categoryName2) categoryName,
IFNULL(p.categoryName,a.categoryName2) categoryName,
a.
planCategoryName
IFNULL(p.planCategoryName,a.planCategoryName2)
planCategoryName
from (SELECT id, policy_no, order_price, commission_rate, commission_amount, commission_check_status, commission_check_id, product_id,
from (SELECT id, policy_no, order_price, commission_rate, commission_amount, commission_check_status, commission_check_id, product_id,
plan_id, insurer_id, order_date, commission_check_at,
plan_id, insurer_id, order_date, commission_check_at,
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 '月' else '日' END)) payTerm,
...
@@ -30,10 +30,12 @@
...
@@ -30,10 +30,12 @@
and (t.plan_id not in (424,453,464) or t.plan_id is null)
and (t.plan_id not in (424,453,464) or t.plan_id is null)
) o
) o
left join ag_po_order_commission_check c on o.commission_check_id = c.id
left join ag_po_order_commission_check c on o.commission_check_id = c.id
left join (select p.id, p.name, pc.name categoryName
left join (select p.id, p.name, pc.name categoryName
, ppc.name planCategoryName
from ag_product p left join ag_product_category pc on p.product_category_id = pc.id
from ag_product p left join ag_product_category pc on p.product_category_id = pc.id
left join ag_plan_category_list pcl on p.id = pcl.product_id
LEFT JOIN ag_plan_category ppc on ppc.id=pcl.plan_category_id
) p on o.product_id = p.id
) p on o.product_id = p.id
left join (select pl.id, pl.name, pc.name planCategoryName, proc.name categoryName2
left join (select pl.id, pl.name, pc.name planCategoryName
2
, proc.name categoryName2
from ag_product_plan pl
from ag_product_plan pl
left join ag_plan_category_list pcl on pl.id = pcl.plan_id
left join ag_plan_category_list pcl on pl.id = pcl.plan_id
left join ag_plan_category pc on pc.id = pcl.plan_category_id
left join ag_plan_category pc on pc.id = pcl.plan_category_id
...
...
yd-api/src/main/resources/mapper/order/PoOrderMapper.xml
View file @
e099a29f
...
@@ -83,6 +83,10 @@
...
@@ -83,6 +83,10 @@
<result
column=
"is_renew_complete"
jdbcType=
"INTEGER"
property=
"isRenewComplete"
/>
<result
column=
"is_renew_complete"
jdbcType=
"INTEGER"
property=
"isRenewComplete"
/>
<result
column=
"is_pay_to_yd"
jdbcType=
"INTEGER"
property=
"isPayToYd"
/>
<result
column=
"is_pay_to_yd"
jdbcType=
"INTEGER"
property=
"isPayToYd"
/>
<result
column=
"auto_pay_flag"
jdbcType=
"VARCHAR"
property=
"autoPayFlag"
/>
<result
column=
"auto_pay_flag"
jdbcType=
"VARCHAR"
property=
"autoPayFlag"
/>
<result
column=
"commission_check_id"
jdbcType=
"BIGINT"
property=
"commissionCheckId"
/>
<result
column=
"commission_check_status"
jdbcType=
"VARCHAR"
property=
"commissionCheckStatus"
/>
<result
column=
"commission_check_at"
jdbcType=
"TIMESTAMP"
property=
"commissionCheckAt"
/>
<result
column=
"commission_check_by"
jdbcType=
"BIGINT"
property=
"commissionCheckBy"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
...
@@ -99,7 +103,7 @@
...
@@ -99,7 +103,7 @@
frame_no, subject_province_id, subject_city_id, subject_address, room_qty, created_at,
frame_no, subject_province_id, subject_city_id, subject_address, room_qty, created_at,
created_by, updated_at, updated_by, source_channel, source_plan_name, source_publishdate,
created_by, updated_at, updated_by, source_channel, source_plan_name, source_publishdate,
source_article, ip_address, ip_region, renew_order_id, is_renew_complete, is_pay_to_yd,
source_article, ip_address, ip_region, renew_order_id, is_renew_complete, is_pay_to_yd,
auto_pay_flag
auto_pay_flag
, commission_check_id, commission_check_status, commission_check_at, commission_check_by
</sql>
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<!--@mbg.generated-->
<!--@mbg.generated-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment