Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
04b72475
Commit
04b72475
authored
Jan 29, 2026
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.7.19' into MVP1.7.19
parents
20c20060
5d878343
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+3
-0
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+16
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
04b72475
...
...
@@ -244,6 +244,9 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
// 处理服务团队数据权限 2022-09-19 fxj
initServerTeamPermission
(
domain
);
domain
.
setDeleteFlag
(
CommonConstants
.
ZERO_STRING
);
if
(
Common
.
isEmpty
(
domain
.
getBpoEnable
())){
domain
.
setBpoEnable
(
CommonConstants
.
IS_FALSE
);
}
if
(
Common
.
isNotNull
(
tSettleDomainInfo
))
{
baseMapper
.
updateById
(
domain
);
}
else
{
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
04b72475
...
...
@@ -852,6 +852,22 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
newDetail
.
setActualPremium
(
new
BigDecimal
(
"0.00"
));
newDetail
.
setEstimatePremium
(
new
BigDecimal
(
"0.00"
));
newDetail
.
setPreHandleTime
(
LocalDateUtil
.
parseLocalDate
(
DateUtil
.
formatDate
(
preDispatchDate
)));
long
purchaseCycle
=
0
;
LocalDate
buyStartDate
;
//计算参保开始日期:新增\批增\替换的参保开始日期=MAX("保单开始时间"、"预计办理日期+1日");
if
(
newDetail
.
getPolicyStart
().
isAfter
(
newDetail
.
getPreHandleTime
().
plusDays
(
1
))){
buyStartDate
=
newDetail
.
getPolicyStart
();
}
else
{
buyStartDate
=
newDetail
.
getPreHandleTime
().
plusDays
(
1
);
}
if
(
null
!=
newDetail
.
getPolicyEnd
()
&&
null
!=
buyStartDate
){
purchaseCycle
=
LocalDateUtil
.
betweenMonth
(
buyStartDate
.
toString
(),
newDetail
.
getPolicyEnd
().
toString
());
}
//计算购买周期:购买周期=保单结束日期-参保开始日期+1(天数);购买周期=保单结束日期-参保开始日期+1(天数)推算出月数;
//按天计费方式
long
day
=
LocalDateUtil
.
betweenDay
(
buyStartDate
.
toString
(),
newDetail
.
getPolicyEnd
().
toString
());
//购买周期
newDetail
.
setPurchaseCycle
(
purchaseCycle
+
"个月/"
+
day
+
"天"
);
boolean
insert
=
this
.
save
(
newDetail
);
//替换记录
if
(
insert
){
...
...
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