fix:78115
This commit is contained in:
+2
-2
@@ -80,7 +80,7 @@ public class LawsBrowsingHistoryController extends JeroController<LawsBrowsingHi
|
|||||||
LambdaQueryWrapper<LawsBrowsingHistory> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<LawsBrowsingHistory> wrapper = new LambdaQueryWrapper<>();
|
||||||
wrapper.eq(LawsBrowsingHistory::getBrowsingUserId, sysUser.getId());
|
wrapper.eq(LawsBrowsingHistory::getBrowsingUserId, sysUser.getId());
|
||||||
lawsBrowsingHistoryService.remove(wrapper);
|
lawsBrowsingHistoryService.remove(wrapper);
|
||||||
return Result.error(MessageUtils.getMessage(ResultCommon.SUCCESSFULLY_CLEARED));
|
return Result.OK(MessageUtils.getMessage(ResultCommon.SUCCESSFULLY_CLEARED));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -95,7 +95,7 @@ public class LawsBrowsingHistoryController extends JeroController<LawsBrowsingHi
|
|||||||
throw new JeroBootException(ResultCommon.PLEASE_SELECT_DATA);
|
throw new JeroBootException(ResultCommon.PLEASE_SELECT_DATA);
|
||||||
}
|
}
|
||||||
this.lawsBrowsingHistoryService.removeByIds(Arrays.asList(map.get("ids").split(",")));
|
this.lawsBrowsingHistoryService.removeByIds(Arrays.asList(map.get("ids").split(",")));
|
||||||
return Result.error(MessageUtils.getMessage(ResultCommon.SUCCESSFULLY_DELETED_IN_BULK));
|
return Result.OK(MessageUtils.getMessage(ResultCommon.SUCCESSFULLY_DELETED_IN_BULK));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user