Browse Source

更新通知公告

master
牧羊人 4 years ago
parent
commit
9864c67bd1
2 changed files with 1 additions and 5 deletions
  1. +0
    -5
      src/main/java/com/taauav/front/entity/UserNotice.java
  2. +1
    -0
      src/main/java/com/taauav/front/service/impl/UserNoticeServiceImpl.java

+ 0
- 5
src/main/java/com/taauav/front/entity/UserNotice.java View File

*/ */
private String content; private String content;


/**
* 附件
*/
private String attachment;

/** /**
* 阅读量 * 阅读量
*/ */

+ 1
- 0
src/main/java/com/taauav/front/service/impl/UserNoticeServiceImpl.java View File

Date endTime = DateUtil.parse(query.getEndTime(), "yyyy-MM-dd HH:mm:ss"); Date endTime = DateUtil.parse(query.getEndTime(), "yyyy-MM-dd HH:mm:ss");
queryWrapper.le("publish_time", endTime); queryWrapper.le("publish_time", endTime);
} }
queryWrapper.eq("mark", 1);


// 查询数据 // 查询数据
IPage<UserNotice> page = new Page<>(query.getPage(), query.getPageSize()); IPage<UserNotice> page = new Page<>(query.getPage(), query.getPageSize());

Loading…
Cancel
Save