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
d01c84f9
Commit
d01c84f9
authored
Jan 22, 2024
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移装告知 和 安装告知 删除业务数据时删除待办
parent
8749d659
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
0 deletions
+18
-0
JgInstallationNoticeController.java
...ule/jg/biz/controller/JgInstallationNoticeController.java
+7
-0
JgTransferNoticeController.java
.../module/jg/biz/controller/JgTransferNoticeController.java
+7
-0
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+2
-0
JgTransferNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgTransferNoticeServiceImpl.java
+2
-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/controller/JgInstallationNoticeController.java
View file @
d01c84f9
...
...
@@ -9,6 +9,7 @@ import com.yeejoin.amos.boot.module.common.biz.utils.CommonResponseUtil;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgInstallationNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgInstallationNotice
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.CommonServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
...
...
@@ -39,6 +40,10 @@ public class JgInstallationNoticeController extends BaseController {
@Autowired
private
IJgInstallationNoticeService
iJgInstallationNoticeService
;
@Autowired
private
CommonServiceImpl
commonService
;
/**
* 新增
*
...
...
@@ -83,6 +88,8 @@ public class JgInstallationNoticeController extends BaseController {
@DeleteMapping
(
value
=
"/delete"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除安装告知"
,
notes
=
"根据sequenceNbr删除安装告知"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
@RequestParam
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
// 删除暂存的待办
commonService
.
deleteTaskModel
(
String
.
valueOf
(
sequenceNbr
));
return
ResponseHelper
.
buildResponse
(
iJgInstallationNoticeService
.
removeById
(
sequenceNbr
));
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgTransferNoticeController.java
View file @
d01c84f9
...
...
@@ -9,6 +9,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.JgTransferNoticeDto;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgTransferNotice
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgTransferNoticeService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICommonService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.CommonServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.ImageUtils
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -44,6 +45,10 @@ public class JgTransferNoticeController extends BaseController {
@Autowired
private
ICommonService
commonService
;
@Autowired
private
CommonServiceImpl
commonServiceImpl
;
/**
* 新增移装造告知
*
...
...
@@ -93,6 +98,8 @@ public class JgTransferNoticeController extends BaseController {
@DeleteMapping
(
value
=
"/delete"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除移装造告知"
,
notes
=
"根据sequenceNbr删除移装造告知"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@RequestParam
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
// 删除暂存的待办
commonServiceImpl
.
deleteTaskModel
(
String
.
valueOf
(
sequenceNbr
));
return
ResponseHelper
.
buildResponse
(
jgTransferNoticeService
.
removeById
(
sequenceNbr
));
}
...
...
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/JgInstallationNoticeServiceImpl.java
View file @
d01c84f9
...
...
@@ -387,6 +387,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
}
notice
.
setIsDelete
(
true
);
});
// 删除暂存的待办
jgInstallationNotices
.
forEach
(
id
->
commonService
.
deleteTaskModel
(
String
.
valueOf
(
id
.
getSequenceNbr
())));
return
this
.
updateBatchById
(
jgInstallationNotices
);
}
...
...
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/JgTransferNoticeServiceImpl.java
View file @
d01c84f9
...
...
@@ -157,6 +157,8 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto
}
notice
.
setIsDelete
(
true
);
});
// 删除暂存的待办
jgTransferNotices
.
forEach
(
id
->
commonService
.
deleteTaskModel
(
String
.
valueOf
(
id
.
getSequenceNbr
())));
return
this
.
updateBatchById
(
jgTransferNotices
);
}
...
...
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