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
a7f397b9
Commit
a7f397b9
authored
Dec 15, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改已投保bug修复
parent
579fe1d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
22 deletions
+13
-22
daprConfig.properties
...yifu-common-dapr/src/main/resources/daprConfig.properties
+7
-16
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+6
-6
No files found.
yifu-common/yifu-common-dapr/src/main/resources/daprConfig.properties
View file @
a7f397b9
#\u6D4B\u8BD5\u73AF\u5883-\u7BA1\u7406\u540E\u53F0
dapr.upms.appUrl
=
http://localhost:3500/v1.0/invoke/
dapr.upms.appUrl
=
http://yifu-upms.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
dapr.upms.appId
=
yifu-upms
dapr.upms.appId
=
yifu-upms
#\u6D4B\u8BD5\u73AF\u5883-\u6821\u9A8C\u670D\u52A1
dapr.check.appUrl
=
http://yifu-check.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
#dapr.check.appUrl=http://yifu-check.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
#\u672C\u5730
dapr.check.appUrl
=
http://localhost:3507/v1.0/invoke/
#dapr.check.appUrl=http://localhost:3502/v1.0/invoke/
dapr.check.appId
=
yifu-check
dapr.check.appId
=
yifu-check
#\u6D4B\u8BD5\u73AF\u5883-\u6863\u6848\u670D\u52A1
dapr.archives.appUrl
=
http://yifu-archives.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
dapr.archives.appId
=
yifu-archives
dapr.
insurances.appUrl
=
http://yifu-auth.qas-mvp.svc.cluster.local:3500
/v1.0/invoke/
dapr.
archives.appUrl
=
http://localhost:3508
/v1.0/invoke/
dapr.
insurances.appId
=
yifu-insuranc
es
dapr.
archives.appId
=
yifu-archiv
es
#\u6D4B\u8BD5\u73AF\u5883-\u85AA\u8D44\u670D\u52A1
dapr.salary.appUrl
=
http://yifu-salary.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
dapr.salary.appId
=
yifu-salary
#\u6D4B\u8BD5\u73AF\u5883-\u793E\u4FDD\u670D\u52A1
dapr.social.appUrl
=
http://localhost:3510/v1.0/invoke/
dapr.social.appUrl
=
http://yifu-social.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
dapr.social.appId
=
yifu-social
dapr.social.appId
=
yifu-social
\ No newline at end of file
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
a7f397b9
...
@@ -2143,14 +2143,14 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -2143,14 +2143,14 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
//推送修改信息
//推送修改信息
StringBuilder
sb
=
new
StringBuilder
();
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
"操作人:"
+
user
.
getNickname
()
+
";操作时间:"
+
LocalDateTime
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
sb
.
append
(
"操作人:"
+
user
.
getNickname
()
+
";操作时间:"
+
LocalDateTime
.
now
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
if
(!
oldDetail
.
getPolicyStart
().
toString
().
equals
(
success
.
getPolicyStartNew
()))
{
if
(!
oldDetail
.
getPolicyStart
().
toString
().
equals
(
detail
.
getPolicyStart
().
toString
()))
{
sb
.
append
(
";变更前保单开始时间:"
+
oldDetail
.
getPolicyStart
()
+
";变更后保单开始时间:"
+
success
.
getPolicyStartNew
());
sb
.
append
(
";变更前保单开始时间:"
+
oldDetail
.
getPolicyStart
()
+
";变更后保单开始时间:"
+
detail
.
getPolicyStart
());
}
}
if
(!
oldDetail
.
getPolicyEnd
().
toString
().
equals
(
success
.
getPolicyEndNew
()))
{
if
(!
oldDetail
.
getPolicyEnd
().
toString
().
equals
(
detail
.
getPolicyEnd
().
toString
()))
{
sb
.
append
(
";变更前保单结束时间:"
+
oldDetail
.
getPolicyEnd
()
+
";变更后保单结束时间:"
+
success
.
getPolicyEndNew
());
sb
.
append
(
";变更前保单结束时间:"
+
oldDetail
.
getPolicyEnd
()
+
";变更后保单结束时间:"
+
detail
.
getPolicyEnd
());
}
}
if
(!
oldDetail
.
getBuyType
().
equals
(
success
.
getBuyType
()))
{
if
(!
oldDetail
.
getBuyType
().
equals
(
detail
.
getBuyType
()))
{
sb
.
append
(
";变更前投保类型:"
+
getBuyType
(
oldDetail
.
getBuyType
())
+
";变更后投保类型:"
+
getBuyType
(
success
.
getBuyType
()));
sb
.
append
(
";变更前投保类型:"
+
getBuyType
(
oldDetail
.
getBuyType
())
+
";变更后投保类型:"
+
getBuyType
(
detail
.
getBuyType
()));
}
}
if
(
StringUtils
.
isNotBlank
(
success
.
getReason
())){
if
(
StringUtils
.
isNotBlank
(
success
.
getReason
())){
sb
.
append
(
";变更原因:"
+
success
.
getReason
());
sb
.
append
(
";变更原因:"
+
success
.
getReason
());
...
...
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