Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
study-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
study-platform
Commits
0627ad09
Commit
0627ad09
authored
Mar 17, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员学习
parent
29d6a4a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
study-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
...mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
+0
-2
No files found.
study-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
View file @
0627ad09
...
@@ -81,7 +81,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
...
@@ -81,7 +81,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
condition
.
setId
(
deptEntity
.
getId
());
condition
.
setId
(
deptEntity
.
getId
());
this
.
updateBatch
(
deptEntity
,
condition
,
context
);
this
.
updateBatch
(
deptEntity
,
condition
,
context
);
}
}
}
}
/**
/**
...
@@ -94,7 +93,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
...
@@ -94,7 +93,6 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
public
void
updateDeptChildren
(
Long
deptId
,
String
newAncestors
,
String
oldAncestors
,
Context
context
)
{
public
void
updateDeptChildren
(
Long
deptId
,
String
newAncestors
,
String
oldAncestors
,
Context
context
)
{
List
<
DeptEntity
>
children
=
getDao
().
selectChildrenDeptById
(
deptId
.
toString
());
List
<
DeptEntity
>
children
=
getDao
().
selectChildrenDeptById
(
deptId
.
toString
());
for
(
DeptEntity
child
:
children
)
{
for
(
DeptEntity
child
:
children
)
{
child
.
setAncestors
(
child
.
getAncestors
().
replace
(
oldAncestors
,
newAncestors
));
child
.
setAncestors
(
child
.
getAncestors
().
replace
(
oldAncestors
,
newAncestors
));
}
}
...
...
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