|
@@ -56,7 +56,7 @@ public class AppNoticeController {
|
|
// .likeRight(ObjectUtil.isNotEmpty(type), Notice::getNoticeType, type.getData())
|
|
// .likeRight(ObjectUtil.isNotEmpty(type), Notice::getNoticeType, type.getData())
|
|
.eq(Notice::getUid, AuthService.getTokenUserId(null))
|
|
.eq(Notice::getUid, AuthService.getTokenUserId(null))
|
|
.eq(Notice::getUserDel, Boolean.FALSE)
|
|
.eq(Notice::getUserDel, Boolean.FALSE)
|
|
- .orderByAsc(Notice::getReadFlag)
|
|
|
|
|
|
+ // .orderByAsc(Notice::getReadFlag)
|
|
.orderByDesc(Notice::getCreateTime);
|
|
.orderByDesc(Notice::getCreateTime);
|
|
if (ObjectUtil.isNotEmpty(type)) {
|
|
if (ObjectUtil.isNotEmpty(type)) {
|
|
eq.likeRight(Notice::getNoticeType, type.getData());
|
|
eq.likeRight(Notice::getNoticeType, type.getData());
|