Skip to content

Commit 709b6c7

Browse files
committed
[UPDATE]3.0
1 parent 07fe8d6 commit 709b6c7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

xboot-fast/src/main/java/cn/exrick/xboot/base/XbootBaseController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public Result<E> update(E entity) {
7272
@RequestMapping(value = "/delByIds", method = RequestMethod.POST)
7373
@ResponseBody
7474
@ApiOperation(value = "批量通过id删除")
75-
public Result<Object> delByIds(@RequestParam ID[] ids) {
75+
public Result<Object> delByIds(ID[] ids) {
7676

7777
for (ID id : ids) {
7878
getService().delete(id);

xboot-fast/src/main/java/cn/exrick/xboot/modules/open/serviceimpl/ClientServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public Client update(Client client) {
7070
}
7171

7272
@Override
73-
@CacheEvict(key = "#client.id")
73+
@CacheEvict(key = "#id")
7474
public void delete(String id) {
7575

7676
clientDao.deleteById(id);

xboot-module/xboot-core/src/main/java/cn/exrick/xboot/core/base/XbootBaseController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public Result<E> update(E entity) {
7272
@RequestMapping(value = "/delByIds", method = RequestMethod.POST)
7373
@ResponseBody
7474
@ApiOperation(value = "批量通过id删除")
75-
public Result<Object> delByIds(@RequestParam ID[] ids) {
75+
public Result<Object> delByIds(ID[] ids) {
7676

7777
for (ID id : ids) {
7878
getService().delete(id);

xboot-module/xboot-modules/xboot-open/src/main/java/cn/exrick/xboot/open/serviceimpl/ClientServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public Client update(Client client) {
7070
}
7171

7272
@Override
73-
@CacheEvict(key = "#client.id")
73+
@CacheEvict(key = "#id")
7474
public void delete(String id) {
7575

7676
clientDao.deleteById(id);

0 commit comments

Comments
 (0)