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

add the post of selectLimitByUserId

This commit is contained in:
cccccyb
2023-05-30 23:15:00 +08:00
parent 55126b913f
commit 2f5b1e4fbc
5 changed files with 49 additions and 0 deletions

View File

@@ -156,4 +156,11 @@ public class NoticeController {
return ResponseResult.build(code, msg, noticePageList.getRecords());
}
@GetMapping("/limit")
public ResponseResult<List<Notice>> selectLimitByUserId(){
List<Notice> selectLimitByUserId = noticeReceiveService.selectLimitByUserId();
String msg = (null!=selectLimitByUserId) ? "" : "数据查询失败,请重试!";
return ResponseResult.build((null!=selectLimitByUserId) ? ResponseCode.DATABASE_DELETE_OK : ResponseCode.DATABASE_DELETE_ERROR, msg, selectLimitByUserId);
}
}