Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
xingmin
yd-csf
Commits
96a3ab61
Commit
96a3ab61
authored
Jan 22, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新单跟进v2
parent
47df2129
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
13 deletions
+12
-13
yd-csf-service/src/main/java/com/yd/csf/service/component/PolicyReportPdfService.java
+4
-3
yd-csf-service/src/main/java/com/yd/csf/service/dto/PolicyReportData.java
+2
-0
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
+1
-8
yd-csf-service/src/main/resources/mappers/PolicyFollowMapper.xml
+5
-2
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/component/PolicyReportPdfService.java
View file @
96a3ab61
package
com
.
yd
.
csf
.
service
.
component
;
package
com
.
yd
.
csf
.
service
.
component
;
import
cn.hutool.core.util.NumberUtil
;
import
com.lowagie.text.Document
;
import
com.lowagie.text.Document
;
import
com.lowagie.text.DocumentException
;
import
com.lowagie.text.DocumentException
;
import
com.lowagie.text.Font
;
import
com.lowagie.text.Font
;
...
@@ -249,9 +250,9 @@ public class PolicyReportPdfService {
...
@@ -249,9 +250,9 @@ public class PolicyReportPdfService {
addTableHeaderCellNoBorder
(
table
,
"保費徵費"
);
addTableHeaderCellNoBorder
(
table
,
"保費徵費"
);
addTableCellNoBorder
(
table
,
formatAmount
(
data
.
getPremiumFee
()));
addTableCellNoBorder
(
table
,
formatAmount
(
data
.
getPremiumFee
()));
// 第六行:
合預繳息
金額 | 金額值 | (空) | (空)
// 第六行:
首期合計
金額 | 金額值 | (空) | (空)
addTableHeaderCellNoBorder
(
table
,
"
合預繳息
金額"
);
addTableHeaderCellNoBorder
(
table
,
"
首期合計
金額"
);
addTableCellNoBorder
(
table
,
formatAmount
(
data
.
getTotalPrepayment
(
)));
addTableCellNoBorder
(
table
,
formatAmount
(
NumberUtil
.
add
(
data
.
getInitialPremium
(),
data
.
getPolicyLevy
()
)));
addTableCellNoBorder
(
table
,
""
);
addTableCellNoBorder
(
table
,
""
);
addTableCellNoBorder
(
table
,
""
);
addTableCellNoBorder
(
table
,
""
);
...
...
yd-csf-service/src/main/java/com/yd/csf/service/dto/PolicyReportData.java
View file @
96a3ab61
...
@@ -25,6 +25,8 @@ public class PolicyReportData {
...
@@ -25,6 +25,8 @@ public class PolicyReportData {
private
BigDecimal
annualAmount
;
private
BigDecimal
annualAmount
;
private
BigDecimal
totalPrepayment
;
private
BigDecimal
totalPrepayment
;
private
BigDecimal
premiumFee
;
private
BigDecimal
premiumFee
;
private
BigDecimal
initialPremium
;
private
BigDecimal
policyLevy
;
// 附加险信息
// 附加险信息
private
List
<
AdditionalInsurance
>
additionalInsurances
;
private
List
<
AdditionalInsurance
>
additionalInsurances
;
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
View file @
96a3ab61
...
@@ -631,14 +631,7 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
...
@@ -631,14 +631,7 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
}
}
// 处理附加险信息
// 处理附加险信息
policyReportData
.
setAdditionalInsurances
(
additionalInsurances
);
policyReportData
.
setAdditionalInsurances
(
additionalInsurances
);
// 处理服务经理
String
signerList
=
policyReportData
.
getServiceManager
();
if
(
StringUtils
.
isNotBlank
(
signerList
))
{
PolicySigner
[]
signers
=
GSONUtil
.
fromJson
(
signerList
,
PolicySigner
[].
class
);
policyReportData
.
setServiceManager
(
signers
[
0
].
getSigner
());
}
// 处理位置
policyReportData
.
setLocation
(
"香港"
);
return
policyReportData
;
return
policyReportData
;
}
}
...
...
yd-csf-service/src/main/resources/mappers/PolicyFollowMapper.xml
View file @
96a3ab61
...
@@ -113,10 +113,13 @@
...
@@ -113,10 +113,13 @@
t.each_issue_premium as premiumFee,
t.each_issue_premium as premiumFee,
t.sign_date as startTime,
t.sign_date as startTime,
t.sign_date as endTime,
t.sign_date as endTime,
t.signer_list as serviceManager,
t.signer as serviceManager,
t.sign_location as location,
t.policy_holder as policyHolder,
t.policy_holder as policyHolder,
t.
currency
as currency,
t.
policy_currency
as currency,
ifnull(i.name, i.name_en) as insuredPerson,
ifnull(i.name, i.name_en) as insuredPerson,
t.initial_premium as initialPremium,
t.policy_levy as policyLevy,
i.age as insuredAge
i.age as insuredAge
from policy_follow t
from policy_follow t
...
...
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