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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user