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
d824b547
Commit
d824b547
authored
Dec 19, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(tcm):企业管理
1.删除时记录原始数据
parent
e65ccef1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TzBaseEnterpriseInfoController.java
...le/tcm/biz/controller/TzBaseEnterpriseInfoController.java
+1
-1
EnterpriseManageServiceImpl.java
...ule/tcm/biz/service/impl/EnterpriseManageServiceImpl.java
+2
-2
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/controller/TzBaseEnterpriseInfoController.java
View file @
d824b547
...
...
@@ -385,7 +385,7 @@ public class TzBaseEnterpriseInfoController extends BaseController {
@DeleteMapping
(
value
=
"/deleteBatch"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"批量删除企业"
,
notes
=
"批量删除企业"
)
@RestEventTrigger
(
value
=
"operateLogRestEventHandler"
)
public
ResponseModel
<
Boolean
>
deleteBatch
(
@RequestParam
String
ids
)
{
public
ResponseModel
<
List
<
TzBaseEnterpriseInfo
>
>
deleteBatch
(
@RequestParam
String
ids
)
{
return
ResponseHelper
.
buildResponse
(
enterpriseManageService
.
delete
(
Arrays
.
asList
(
ids
.
split
(
","
))));
}
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/EnterpriseManageServiceImpl.java
View file @
d824b547
...
...
@@ -52,7 +52,7 @@ public class EnterpriseManageServiceImpl {
*
* @param ids 企业ids
*/
public
Boolean
delete
(
List
<
String
>
ids
)
{
public
List
<
TzBaseEnterpriseInfo
>
delete
(
List
<
String
>
ids
)
{
// 校验
List
<
TzBaseEnterpriseInfo
>
enterpriseInfos
=
enterpriseInfoService
.
getBaseMapper
().
selectBatchIds
(
ids
);
Map
<
String
,
Long
>
useUnitCodeUserNumMap
=
this
.
countUserByUnit
(
enterpriseInfos
);
...
...
@@ -65,7 +65,7 @@ public class EnterpriseManageServiceImpl {
this
.
deleteAmosUser
(
e
);
this
.
deleteAmosCompany
(
e
);
});
return
true
;
return
enterpriseInfos
;
}
/**
...
...
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