@@ -40,11 +40,6 @@ public class UserNotice extends Entity { | |||
*/ | |||
private String content; | |||
/** | |||
* 附件 | |||
*/ | |||
private String attachment; | |||
/** | |||
* 阅读量 | |||
*/ |
@@ -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()); |