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
81ade4db
Commit
81ade4db
authored
Nov 20, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新单跟进68
parent
8c51446d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
yd-csf-service/src/main/java/com/yd/csf/service/dto/PolicyFollowAddRequest.java
+3
-3
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
+5
-3
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/dto/PolicyFollowAddRequest.java
View file @
81ade4db
...
@@ -49,10 +49,10 @@ public class PolicyFollowAddRequest implements Serializable {
...
@@ -49,10 +49,10 @@ public class PolicyFollowAddRequest implements Serializable {
private
String
appointmentNo
;
private
String
appointmentNo
;
/**
/**
* 签单
人
* 签单
员列表
*/
*/
@Schema
(
description
=
"签单
人
"
)
@Schema
(
description
=
"签单
员列表
"
)
private
String
signer
;
private
List
<
PolicySigner
>
signerList
;
/**
/**
* 供款年期
* 供款年期
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
View file @
81ade4db
...
@@ -151,9 +151,8 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
...
@@ -151,9 +151,8 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
PolicyFollowUpdateDto
policyFollowUpdateDto
=
policyFollowUpdateRequest
.
getPolicyFollowUpdateDto
();
PolicyFollowUpdateDto
policyFollowUpdateDto
=
policyFollowUpdateRequest
.
getPolicyFollowUpdateDto
();
if
(
policyFollowUpdateDto
!=
null
)
{
if
(
policyFollowUpdateDto
!=
null
)
{
BeanUtils
.
copyProperties
(
policyFollowUpdateDto
,
policyFollow
,
"id"
,
"policyBizId"
);
BeanUtils
.
copyProperties
(
policyFollowUpdateDto
,
policyFollow
,
"id"
,
"policyBizId"
);
if
(
CollectionUtils
.
isNotEmpty
(
policyFollowUpdateDto
.
getSignerList
()))
{
// 签单员列表 => 字符串
policyFollow
.
setSignerList
(
GSONUtil
.
toJson
(
policyFollowUpdateDto
.
getSignerList
()));
policyFollow
.
setSignerList
(
GSONUtil
.
toJson
(
policyFollowUpdateDto
.
getSignerList
()));
}
// 计算冷却期结束日期
// 计算冷却期结束日期
if
(
policyFollowUpdateDto
.
getCoolingOffDays
()
!=
null
&&
policyFollowUpdateDto
.
getEffectiveDate
()
!=
null
)
{
if
(
policyFollowUpdateDto
.
getCoolingOffDays
()
!=
null
&&
policyFollowUpdateDto
.
getEffectiveDate
()
!=
null
)
{
policyFollow
.
setCoolingOffEndDate
(
DateUtil
.
offset
(
policyFollowUpdateDto
.
getEffectiveDate
(),
DateField
.
DAY_OF_MONTH
,
policyFollowUpdateDto
.
getCoolingOffDays
()));
policyFollow
.
setCoolingOffEndDate
(
DateUtil
.
offset
(
policyFollowUpdateDto
.
getEffectiveDate
(),
DateField
.
DAY_OF_MONTH
,
policyFollowUpdateDto
.
getCoolingOffDays
()));
...
@@ -243,6 +242,9 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
...
@@ -243,6 +242,9 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
// 生成新单编号
// 生成新单编号
String
policyBizId
=
RandomStringGenerator
.
generateBizId16
(
CommonEnum
.
UID_TYPE_POLICY
.
getCode
());
String
policyBizId
=
RandomStringGenerator
.
generateBizId16
(
CommonEnum
.
UID_TYPE_POLICY
.
getCode
());
policyFollow
.
setPolicyBizId
(
policyBizId
);
policyFollow
.
setPolicyBizId
(
policyBizId
);
// 签单员列表 => 字符串
policyFollow
.
setSignerList
(
GSONUtil
.
toJson
(
policyFollowAddRequest
.
getSignerList
()));
// 计算冷却期结束日期
if
(
policyFollowAddRequest
.
getCoolingOffDays
()
!=
null
)
{
if
(
policyFollowAddRequest
.
getCoolingOffDays
()
!=
null
)
{
policyFollow
.
setCoolingOffEndDate
(
DateUtil
.
offset
(
policyFollowAddRequest
.
getEffectiveDate
(),
DateField
.
DAY_OF_MONTH
,
policyFollowAddRequest
.
getCoolingOffDays
()));
policyFollow
.
setCoolingOffEndDate
(
DateUtil
.
offset
(
policyFollowAddRequest
.
getEffectiveDate
(),
DateField
.
DAY_OF_MONTH
,
policyFollowAddRequest
.
getCoolingOffDays
()));
}
}
...
...
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