Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 462b403c
authored
Jul 31, 2023
by
王力
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_layer0731' into 'develop'
修改 See merge request !312
2 parents
ff26fb45
8a7b9a70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessLayerServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessLayerServiceImpl.java
View file @
462b403
...
...
@@ -232,13 +232,14 @@ public class BusinessLayerServiceImpl implements BusinessLayerService {
// 需要更新为有效的
Set
<
String
>
updates
=
new
HashSet
<>(
db
);
updates
.
retainAll
(
skillCodes
);
if
(!
updates
.
isEmpty
())
{
LambdaUpdateWrapper
<
MapLayerCustomizeSkill
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
set
(
MapLayerCustomizeSkill:
:
getStatus
,
1
);
updateWrapper
.
eq
(
MapLayerCustomizeSkill:
:
getLayerId
,
layerId
);
updateWrapper
.
in
(
MapLayerCustomizeSkill:
:
getSkillCode
,
new
ArrayList
<>(
updates
));
mapLayerCustomizeSkillMPDao
.
update
(
null
,
updateWrapper
);
}
// 需要新增插入的
Set
<
String
>
adds
=
new
HashSet
<>(
skillCodes
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment