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

modify the el-=cascader in page of NoticeCommitForm

This commit is contained in:
cccccyb
2023-06-04 20:17:43 +08:00
parent 279c4bfc67
commit b8ad05b4a1
3 changed files with 12 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ public class NoticeController {
@PreAuthorize("hasAuthority('notice:self:get')")
public ResponseResult<List<Notice>> selectByUserId(Integer readStatus,String title, String type, String startTime, String endTime) {
List<Notice> noticesByUserId = noticeReceiveService.selectByUserId(readStatus, title.trim(), type.trim(), startTime.trim(), endTime.trim());
Integer code = noticesByUserId != null ? ResponseCode.DATABASE_SELECT_OK : ResponseCode.DATABASE_SELECT_ERROR;
int code = noticesByUserId != null ? ResponseCode.DATABASE_SELECT_OK : ResponseCode.DATABASE_SELECT_ERROR;
String msg = noticesByUserId != null ? "" : "数据查询失败,请重试!";
return ResponseResult.build(code, msg, noticesByUserId);
}