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 0689f94d
authored
Aug 10, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
1bb8ee36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/MapLayerCustomizeSkillDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/MapLayerCustomizeSkillDao.java
View file @
0689f94
...
@@ -13,11 +13,11 @@ public interface MapLayerCustomizeSkillDao extends JpaRepository<MapLayerCustomi
...
@@ -13,11 +13,11 @@ public interface MapLayerCustomizeSkillDao extends JpaRepository<MapLayerCustomi
List
<
MapLayerCustomizeSkillEntity
>
findByLayerId
(
String
layerId
);
List
<
MapLayerCustomizeSkillEntity
>
findByLayerId
(
String
layerId
);
@Modifying
@Modifying
@Query
(
"UPDATE MapLayerCustomizeSkill s SET s.status = :status WHERE s.layerId = :layerId"
)
@Query
(
"UPDATE MapLayerCustomizeSkill
Entity
s SET s.status = :status WHERE s.layerId = :layerId"
)
void
updateStatusByLayerId
(
int
status
,
String
layerId
);
void
updateStatusByLayerId
(
int
status
,
String
layerId
);
@Modifying
@Modifying
@Query
(
"UPDATE MapLayerCustomizeSkill
s SET s.status = :status WHERE s.layerId = :layerId and s.skillCode IN :skillCodes"
)
@Query
(
"UPDATE MapLayerCustomizeSkill
Entity
s SET s.status = :status WHERE s.layerId = :layerId and s.skillCode IN :skillCodes"
)
void
updateStatusByLayerIdAndSkillCodeIn
(
int
status
,
String
layerId
,
List
<
String
>
skillCodes
);
void
updateStatusByLayerIdAndSkillCodeIn
(
int
status
,
String
layerId
,
List
<
String
>
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