|
@@ -59,7 +59,7 @@ public class NoticeServiceImpl extends ServiceImpl<NoticeMapper, Notice> impleme
|
|
public List<NoticeDTO> getNoticeList(String type){
|
|
public List<NoticeDTO> getNoticeList(String type){
|
|
List<Notice> notices = this.lambdaQuery()
|
|
List<Notice> notices = this.lambdaQuery()
|
|
.eq(StringUtils.notEmpty(type),Notice::getSendObject,type)
|
|
.eq(StringUtils.notEmpty(type),Notice::getSendObject,type)
|
|
- .eq(Notice::getStatus,1)
|
|
|
|
|
|
+ .eq(Notice::getStatus,0)
|
|
.orderByAsc(Notice::getCreateTime)
|
|
.orderByAsc(Notice::getCreateTime)
|
|
.list();
|
|
.list();
|
|
return NoticeCopier.INSTANCE.copying(notices);
|
|
return NoticeCopier.INSTANCE.copying(notices);
|