Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
ebe8b345
Commit
ebe8b345
authored
Jul 05, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整批量删除接口
parent
bfc226d9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
22 deletions
+5
-22
TEmpDisabilityInfoController.java
...ifu/archives/controller/TEmpDisabilityInfoController.java
+1
-1
TEmpEducationController.java
.../v1/yifu/archives/controller/TEmpEducationController.java
+1
-1
TEmpFamilyController.java
...lus/v1/yifu/archives/controller/TEmpFamilyController.java
+1
-18
TEmpProfessionalQualificationController.java
...s/controller/TEmpProfessionalQualificationController.java
+1
-1
TEmpWorkRecordingController.java
...yifu/archives/controller/TEmpWorkRecordingController.java
+1
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpDisabilityInfoController.java
View file @
ebe8b345
...
...
@@ -138,7 +138,7 @@ public class TEmpDisabilityInfoController {
@SysLog
(
"通过ids删除员工伤残信息表"
)
@DeleteMapping
(
"/removeByIds"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tempdisabilityinfo_del_batch')"
)
public
R
<
Boolean
>
removeByIds
(
@Request
Param
String
ids
)
{
public
R
<
Boolean
>
removeByIds
(
@Request
Body
(
required
=
true
)
String
ids
)
{
List
<
String
>
idList
=
Common
.
getList
(
ids
);
return
R
.
ok
(
tEmpDisabilityInfoService
.
removeByIds
(
idList
));
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpEducationController.java
View file @
ebe8b345
...
...
@@ -136,7 +136,7 @@ public class TEmpEducationController {
@SysLog
(
"通过id删除员工学历信息表"
)
@DeleteMapping
(
"/removeByIds"
)
@PreAuthorize
(
"@pms.hasPermission('archives_education_del_batch')"
)
public
R
<
Boolean
>
removeByIds
(
String
ids
)
{
public
R
<
Boolean
>
removeByIds
(
@RequestBody
(
required
=
true
)
String
ids
)
{
List
<
String
>
idList
=
null
;
if
(
Common
.
isNotNull
(
ids
)){
idList
=
Common
.
initStrToList
(
ids
,
CommonConstants
.
COMMA_STRING
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpFamilyController.java
View file @
ebe8b345
...
...
@@ -146,28 +146,11 @@ public class TEmpFamilyController {
@SysLog
(
"通过id删除员工家庭信息表"
)
@DeleteMapping
(
"/removeByIds"
)
@PreAuthorize
(
"@pms.hasPermission('archives-family-batch-delete')"
)
public
R
<
Boolean
>
removeByIds
(
String
ids
)
{
public
R
<
Boolean
>
removeByIds
(
@RequestBody
(
required
=
true
)
String
ids
)
{
List
<
String
>
idList
=
Common
.
getList
(
ids
);
return
tEmpFamilyService
.
removeByIdsDiy
(
idList
);
}
/* *//**
* 批量新增员工家庭信息
*
* @param excelVOList
* @return
* @Author fxj
* @Date 2019-08-16
**/
/* @Operation(description = "批量新增员工家庭信息 hasPermission('archives-family-batch-import')")
@SysLog("批量新增员工家庭信息")
@PostMapping("/importListAdd")
@PreAuthorize("@pms.hasPermission('archives-family-batch-import')")
public R<List<ErrorMessage>> importListAdd(@RequestExcel List<EmpFamilyExcelVO> excelVOList, BindingResult bindingResult) {
return tEmpFamilyService.importEmpFamily(excelVOList, bindingResult);
}*/
/**
* 批量新增员工家庭信息
*
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpProfessionalQualificationController.java
View file @
ebe8b345
...
...
@@ -135,7 +135,7 @@ public class TEmpProfessionalQualificationController {
@SysLog
(
"通过ids删除员工职业资格信息表"
)
@DeleteMapping
(
"/removeByIds"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tempprofessionalqualification_del_batch')"
)
public
R
removeByIds
(
@Request
Param
String
ids
)
{
public
R
removeByIds
(
@Request
Body
(
required
=
true
)
String
ids
)
{
List
<
String
>
idList
=
Common
.
getList
(
ids
);
return
R
.
ok
(
qualificationService
.
removeByIds
(
idList
));
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpWorkRecordingController.java
View file @
ebe8b345
...
...
@@ -136,7 +136,7 @@ public class TEmpWorkRecordingController {
@SysLog
(
"通过id删除员工家工作息表"
)
@DeleteMapping
(
"/removeByIds"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tempworkrecording_del_batch')"
)
public
R
<
Boolean
>
removeByIds
(
String
ids
)
{
public
R
<
Boolean
>
removeByIds
(
@RequestBody
(
required
=
true
)
String
ids
)
{
List
<
String
>
idList
=
Common
.
getList
(
ids
);
return
R
.
ok
(
tEmpWorkRecordingService
.
removeByIds
(
idList
));
}
...
...
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