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
5917d49c
Commit
5917d49c
authored
Jun 01, 2022
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改装备清除接口调用方法
parent
e77935f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
EquipmentSpecificController.java
...n/equipmanage/controller/EquipmentSpecificController.java
+4
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/EquipmentSpecificController.java
View file @
5917d49c
...
@@ -270,7 +270,7 @@ public class EquipmentSpecificController extends AbstractBaseController {
...
@@ -270,7 +270,7 @@ public class EquipmentSpecificController extends AbstractBaseController {
@ApiOperation
(
value
=
"删除装备相关所有数据"
,
notes
=
"删除装备相关所有数据"
)
@ApiOperation
(
value
=
"删除装备相关所有数据"
,
notes
=
"删除装备相关所有数据"
)
public
ResponseModel
delEquipmentBySpecificId
(
@RequestParam
Long
specificId
)
{
public
ResponseModel
delEquipmentBySpecificId
(
@RequestParam
Long
specificId
)
{
EquipmentSpecific
equipmentSpecific
=
equipmentSpecificSerivce
.
getById
(
specificId
);
EquipmentSpecific
equipmentSpecific
=
equipmentSpecificSerivce
.
getById
(
specificId
);
Boolean
result
=
equipmentSpecificSerivce
.
delEquipment
Specific
(
specificId
);
Boolean
result
=
equipmentSpecificSerivce
.
delEquipment
BySpecificId
(
specificId
);
// 同步刷新,不在异步,原因速度3秒左右
// 同步刷新,不在异步,原因速度3秒左右
this
.
refreshCount
(
equipmentSpecific
.
getBizOrgCode
());
this
.
refreshCount
(
equipmentSpecific
.
getBizOrgCode
());
return
CommonResponseUtil
.
success
(
result
);
return
CommonResponseUtil
.
success
(
result
);
...
@@ -300,6 +300,9 @@ public class EquipmentSpecificController extends AbstractBaseController {
...
@@ -300,6 +300,9 @@ public class EquipmentSpecificController extends AbstractBaseController {
}
}
specificIds
.
forEach
(
specificId
->
{
specificIds
.
forEach
(
specificId
->
{
equipmentSpecificSerivce
.
delEquipmentBySpecificId
(
specificId
);
equipmentSpecificSerivce
.
delEquipmentBySpecificId
(
specificId
);
EquipmentSpecific
equipmentSpecific
=
equipmentSpecificSerivce
.
getById
(
specificId
);
// 同步刷新,不在异步,原因速度3秒左右
this
.
refreshCount
(
equipmentSpecific
.
getBizOrgCode
());
});
});
return
CommonResponseUtil
.
success
();
return
CommonResponseUtil
.
success
();
}
}
...
...
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