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
59503866
Commit
59503866
authored
Apr 18, 2023
by
Mahjong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保单出单来源
parent
855967e3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
+4
-1
yd-api/src/main/java/com/yd/api/commission/vo/lifecommission/ComeCommissionVO.java
+9
-1
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
+2
-0
No files found.
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
View file @
59503866
...
@@ -569,7 +569,7 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
...
@@ -569,7 +569,7 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
String
charset
=
"UTF-8"
;
// 读取字符编码
String
charset
=
"UTF-8"
;
// 读取字符编码
String
[]
columnName
=
new
String
[]{
"序号"
,
"来佣编号"
,
"预计来佣年月"
,
"实际来佣年月"
,
"检核年月"
,
"银盾出单机构"
,
"保险公司"
,
"保险分公司"
,
String
[]
columnName
=
new
String
[]{
"序号"
,
"来佣编号"
,
"预计来佣年月"
,
"实际来佣年月"
,
"检核年月"
,
"银盾出单机构"
,
"保险公司"
,
"保险分公司"
,
"保单号"
,
"保费"
,
"来佣类型"
,
"来佣项目"
,
"来佣率"
,
"来佣金额"
,
"来佣状态 "
,
"经纪人"
,
"S3纵队"
,
"S2体系"
,
"S1分部"
,
"经纪人类型"
,
"保单号"
,
"保费"
,
"来佣类型"
,
"来佣项目"
,
"来佣率"
,
"来佣金额"
,
"来佣状态 "
,
"经纪人"
,
"S3纵队"
,
"S2体系"
,
"S1分部"
,
"经纪人类型"
,
"下单时间"
,
"购买方案"
,
"产品险种"
,
"保险种类"
,
"缴费年限"
,
"保障期间"
,
"保单跟踪状态"
"下单时间"
,
"购买方案"
,
"产品险种"
,
"保险种类"
,
"缴费年限"
,
"保障期间"
,
"保单跟踪状态"
,
"保单出单来源"
};
};
String
tableName
=
"YD_Export_ComeCommission"
;
String
tableName
=
"YD_Export_ComeCommission"
;
String
CSV_COLUMN_SEPARATOR
=
","
;
//CSV文件列分隔符
String
CSV_COLUMN_SEPARATOR
=
","
;
//CSV文件列分隔符
...
@@ -621,6 +621,9 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
...
@@ -621,6 +621,9 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
buf
.
append
(
info
.
getPayTerm
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getPayTerm
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getCoverageTerm
()
==
null
?
"/"
:
info
.
getCoverageTerm
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getCoverageTerm
()
==
null
?
"/"
:
info
.
getCoverageTerm
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getPolicyTrackingStatus
()
==
null
?
"/"
:
handlePolicyTrackingStatus
(
info
.
getPolicyTrackingStatus
())).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getPolicyTrackingStatus
()
==
null
?
"/"
:
handlePolicyTrackingStatus
(
info
.
getPolicyTrackingStatus
())).
append
(
CSV_COLUMN_SEPARATOR
);
MdDropOptions
dropOption
=
systemConfigService
.
getDropOption
(
"policy_input_source"
,
info
.
getPolicyInputSource
());
buf
.
append
(
dropOption
==
null
?
"/"
:
dropOption
.
getDropOptionName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
CSV_ROW_SEPARATOR
);
buf
.
append
(
CSV_ROW_SEPARATOR
);
}
}
...
...
yd-api/src/main/java/com/yd/api/commission/vo/lifecommission/ComeCommissionVO.java
View file @
59503866
...
@@ -48,7 +48,7 @@ public class ComeCommissionVO {
...
@@ -48,7 +48,7 @@ public class ComeCommissionVO {
private
Long
s2Id
;
private
Long
s2Id
;
private
Long
s3Id
;
private
Long
s3Id
;
private
Long
policyTrackingStatus
;
//保单跟踪状态
private
Long
policyTrackingStatus
;
//保单跟踪状态
private
String
policyInputSource
;
//保单出单来源
public
Long
getOrderId
()
{
public
Long
getOrderId
()
{
return
orderId
;
return
orderId
;
}
}
...
@@ -412,4 +412,12 @@ public class ComeCommissionVO {
...
@@ -412,4 +412,12 @@ public class ComeCommissionVO {
public
void
setPolicyTrackingStatus
(
Long
policyTrackingStatus
)
{
public
void
setPolicyTrackingStatus
(
Long
policyTrackingStatus
)
{
this
.
policyTrackingStatus
=
policyTrackingStatus
;
this
.
policyTrackingStatus
=
policyTrackingStatus
;
}
}
public
String
getPolicyInputSource
()
{
return
policyInputSource
;
}
public
void
setPolicyInputSource
(
String
policyInputSource
)
{
this
.
policyInputSource
=
policyInputSource
;
}
}
}
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
View file @
59503866
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
o.ydBranchId,
o.ydBranchId,
o.broker_customer_id,
o.broker_customer_id,
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
...
@@ -150,6 +151,7 @@
...
@@ -150,6 +151,7 @@
null as ydBranchId,
null as ydBranchId,
null as broker_customer_id,
null as broker_customer_id,
null as policyTrackingStatus,
null as policyTrackingStatus,
null as policyInputSource,
null as coverageTerm,
null as coverageTerm,
null as payTerm
null as payTerm
from ag_po_order_commission oc
from ag_po_order_commission oc
...
...
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