Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
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
胡园园
yanxuan-qc-change-system
Commits
68f54692
Commit
68f54692
authored
Dec 12, 2022
by
穆龙飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:修改删除逻辑
parent
67963472
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ChangeTypeServiceImpl.java
...change/biz/service/impl/change/ChangeTypeServiceImpl.java
+1
-1
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/impl/change/ChangeTypeServiceImpl.java
View file @
68f54692
...
@@ -129,7 +129,7 @@ public class ChangeTypeServiceImpl implements ChangeTypeService {
...
@@ -129,7 +129,7 @@ public class ChangeTypeServiceImpl implements ChangeTypeService {
}
}
//查询一级下班是否还存在其他二级 如果不存在就删除一级 如果存在一级就不做伪删
//查询一级下班是否还存在其他二级 如果不存在就删除一级 如果存在一级就不做伪删
List
<
ChangeType
>
changeTypeList
=
mapper
.
queryParent
(
changeTypes
.
get
(
0
).
getId
());
List
<
ChangeType
>
changeTypeList
=
mapper
.
queryParent
(
changeTypes
.
get
(
0
).
getId
());
if
(
changeTypeList
.
size
()
=
=
2
){
if
(
changeTypeList
.
size
()
!
=
2
){
changeTypes
.
remove
(
0
);
changeTypes
.
remove
(
0
);
}
}
for
(
ChangeType
changeType
:
changeTypes
){
for
(
ChangeType
changeType
:
changeTypes
){
...
...
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