Bläddra i källkod

更新通知公告

master
牧羊人 4 år sedan
förälder
incheckning
9864c67bd1
2 ändrade filer med 1 tillägg och 5 borttagningar
  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 Visa fil

@@ -40,11 +40,6 @@ public class UserNotice extends Entity {
*/
private String content;

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

/**
* 阅读量
*/

+ 1
- 0
src/main/java/com/taauav/front/service/impl/UserNoticeServiceImpl.java Visa fil

@@ -75,6 +75,7 @@ public class UserNoticeServiceImpl extends BaseServiceImpl<UserNoticeMapper, Use
Date endTime = DateUtil.parse(query.getEndTime(), "yyyy-MM-dd HH:mm:ss");
queryWrapper.le("publish_time", endTime);
}
queryWrapper.eq("mark", 1);

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

Laddar…
Avbryt
Spara