Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
relation
Commits
799a5186
Commit
799a5186
authored
Jul 31, 2025
by
zhuxiang
Browse files
Merge remote-tracking branch 'origin/dev' into dev
parents
50016fb9
b85eeab0
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/platform/controller/CaseController.java
View file @
799a5186
...
@@ -41,7 +41,7 @@ public class CaseController extends BaseController {
...
@@ -41,7 +41,7 @@ public class CaseController extends BaseController {
@ApiOperation
(
value
=
"批量删除"
)
@ApiOperation
(
value
=
"批量删除"
)
@DeleteMapping
(
"/delete/batch"
)
@DeleteMapping
(
"/delete/batch"
)
public
Result
<
Boolean
>
delete
(
@RequestParam
List
<
String
>
ids
)
{
public
Result
<
Boolean
>
delete
(
@RequestParam
(
name
=
"ids"
)
List
<
String
>
ids
)
{
return
Result
.
data
(
caseService
.
removeBatchByIds
(
ids
));
return
Result
.
data
(
caseService
.
removeBatchByIds
(
ids
));
}
}
...
...
src/main/java/com/platform/controller/ExcelTemplateController.java
View file @
799a5186
...
@@ -10,6 +10,7 @@ import io.swagger.annotations.ApiOperation;
...
@@ -10,6 +10,7 @@ import io.swagger.annotations.ApiOperation;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
/**
/**
* @author : wujipeng
* @author : wujipeng
...
@@ -43,9 +44,9 @@ public class ExcelTemplateController extends BaseController {
...
@@ -43,9 +44,9 @@ public class ExcelTemplateController extends BaseController {
return
Result
.
data
(
excelTemplateService
.
saveOrUpdate
(
excelTemplateDTO
));
return
Result
.
data
(
excelTemplateService
.
saveOrUpdate
(
excelTemplateDTO
));
}
}
@ApiOperation
(
value
=
"删除"
)
@ApiOperation
(
value
=
"
批量
删除"
)
@DeleteMapping
(
"/
{id}
"
)
@DeleteMapping
(
"/
delete
"
)
public
Result
<
Boolean
>
delete
(
@
PathVariable
Integer
id
)
{
public
Result
<
Boolean
>
delete
(
@
RequestParam
(
name
=
"ids"
)
List
<
String
>
id
s
)
{
return
Result
.
data
(
excelTemplateService
.
removeById
(
id
));
return
Result
.
data
(
excelTemplateService
.
removeB
atchB
yId
s
(
id
s
));
}
}
}
}
src/main/java/com/platform/controller/WhiteController.java
View file @
799a5186
...
@@ -13,6 +13,7 @@ import io.swagger.annotations.ApiOperation;
...
@@ -13,6 +13,7 @@ import io.swagger.annotations.ApiOperation;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
/**
/**
* @author : wujipeng
* @author : wujipeng
...
@@ -47,10 +48,10 @@ public class WhiteController extends BaseController {
...
@@ -47,10 +48,10 @@ public class WhiteController extends BaseController {
return
Result
.
data
(
whiteService
.
saveWhite
(
whiteDTO
));
return
Result
.
data
(
whiteService
.
saveWhite
(
whiteDTO
));
}
}
@ApiOperation
(
value
=
"删除"
)
@ApiOperation
(
value
=
"
批量
删除"
)
@DeleteMapping
(
"/
{id}
"
)
@DeleteMapping
(
"/
delete
"
)
public
Result
<
Boolean
>
delete
(
@
PathVariable
Integer
id
)
{
public
Result
<
Boolean
>
delete
(
@
RequestParam
(
name
=
"ids"
)
List
<
String
>
id
s
)
{
return
Result
.
data
(
whiteService
.
removeById
(
id
));
return
Result
.
data
(
whiteService
.
removeB
atchB
yId
s
(
id
s
));
}
}
}
}
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