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
dc24d3c2
Commit
dc24d3c2
authored
Dec 09, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:ekp调用新的紧急出险接口调试
parent
ca6f7e5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+14
-12
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
dc24d3c2
...
...
@@ -6371,18 +6371,20 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
paramList
.
stream
().
forEach
(
e
->{
TInsuranceDetail
byId
=
this
.
getById
(
e
);
if
(
Optional
.
ofNullable
(
byId
).
isPresent
()){
TInsuranceOperate
operate
=
new
TInsuranceOperate
();
updateWrapper
.
eq
(
TInsuranceDetail:
:
getId
,
byId
.
getId
())
.
set
(
TInsuranceDetail:
:
getIsUse
,
CommonConstants
.
ONE_INT
)
.
set
(
TInsuranceDetail:
:
getUpdateTime
,
LocalDateTime
.
now
());
update
(
updateWrapper
);
operate
.
setOperateDesc
(
InsurancesConstants
.
URGENT_UPDATE_IS_USE
);
operate
.
setCreateName
(
InsurancesConstants
.
SYSTEM_TRIGGER
);
operate
.
setInsuranceDetailId
(
byId
.
getId
());
operate
.
setDisplayFlag
(
CommonConstants
.
ONE_INT
);
operate
.
setCreateTime
(
LocalDateTime
.
now
());
operate
.
setCreateBy
(
CommonConstants
.
ZERO_STRING
);
operateList
.
add
(
operate
);
if
(
byId
.
getIsUse
()
!=
CommonConstants
.
ONE_INT
){
TInsuranceOperate
operate
=
new
TInsuranceOperate
();
updateWrapper
.
eq
(
TInsuranceDetail:
:
getId
,
byId
.
getId
())
.
set
(
TInsuranceDetail:
:
getIsUse
,
CommonConstants
.
ONE_INT
)
.
set
(
TInsuranceDetail:
:
getUpdateTime
,
LocalDateTime
.
now
());
update
(
updateWrapper
);
operate
.
setOperateDesc
(
InsurancesConstants
.
URGENT_UPDATE_IS_USE
);
operate
.
setCreateName
(
InsurancesConstants
.
SYSTEM_TRIGGER
);
operate
.
setInsuranceDetailId
(
byId
.
getId
());
operate
.
setDisplayFlag
(
CommonConstants
.
ONE_INT
);
operate
.
setCreateTime
(
LocalDateTime
.
now
());
operate
.
setCreateBy
(
CommonConstants
.
ZERO_STRING
);
operateList
.
add
(
operate
);
}
}
});
}
...
...
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