Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
7ab33471
Commit
7ab33471
authored
Jan 22, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.业务数据删除时,同时删除待办数据批量操作
parent
12d16260
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
JgChangeRegistrationNameServiceImpl.java
...biz/service/impl/JgChangeRegistrationNameServiceImpl.java
+8
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgChangeRegistrationNameServiceImpl.java
View file @
7ab33471
...
...
@@ -427,7 +427,11 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
deleteBatch
(
List
<
Long
>
ids
)
{
// 删除待办
this
.
deleteTaskBatch
(
ids
);
// 删除业务数据
JgChangeRegistrationName
jgChangeRegistrationName
=
new
JgChangeRegistrationName
();
jgChangeRegistrationName
.
setIsDelete
(
true
);
LambdaQueryWrapper
<
JgChangeRegistrationName
>
lambda
=
new
QueryWrapper
<
JgChangeRegistrationName
>().
lambda
();
...
...
@@ -435,6 +439,10 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
this
.
update
(
jgChangeRegistrationName
,
lambda
);
}
private
void
deleteTaskBatch
(
List
<
Long
>
ids
)
{
ids
.
forEach
(
id
->
commonService
.
deleteTaskModel
(
id
+
""
));
}
public
void
revocation
(
String
instanceId
)
{
// 执行流程
...
...
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