1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

modify the responseResult of selectLimitByUserId

This commit is contained in:
cccccyb
2023-06-04 18:42:39 +08:00
parent 19617650b3
commit e6da9a281a

View File

@@ -139,7 +139,7 @@ public class NoticeController {
public ResponseResult<List<Notice>> selectLimitByUserId() { public ResponseResult<List<Notice>> selectLimitByUserId() {
List<Notice> selectLimitByUserId = noticeReceiveService.selectLimitByUserId(); List<Notice> selectLimitByUserId = noticeReceiveService.selectLimitByUserId();
String msg = (null != selectLimitByUserId) ? "" : "数据查询失败,请重试!"; String msg = (null != selectLimitByUserId) ? "" : "数据查询失败,请重试!";
return ResponseResult.build((null != selectLimitByUserId) ? ResponseCode.DATABASE_DELETE_OK : ResponseCode.DATABASE_DELETE_ERROR, msg, selectLimitByUserId); return ResponseResult.build((null != selectLimitByUserId) ? ResponseCode.DATABASE_SELECT_OK : ResponseCode.DATABASE_SELECT_ERROR, msg, selectLimitByUserId);
} }
} }