|
@@ -223,13 +223,12 @@ public class NoticeWebsitLogic {
|
|
|
one.setNum(one.getNum()+1);
|
|
|
one.updateById();
|
|
|
}
|
|
|
+
|
|
|
+ websitRecord.setReadFlag(IsYesNoEnum.YES.getKey());
|
|
|
+ websitRecord.setReadTime(new Date());
|
|
|
+ websitRecord.updateById()
|
|
|
}
|
|
|
|
|
|
- noticeWebsitRecordService.lambdaUpdate()
|
|
|
- .in(!CollectionUtils.isEmpty(adminUser.getAdminWebsitIds()), NoticeWebsitRecord::getAdminWebsitId, adminUser.getAdminWebsitIds())
|
|
|
- .set(NoticeWebsitRecord::getReadFlag, IsYesNoEnum.YES.getKey())
|
|
|
- .set(NoticeWebsitRecord::getReadTime, new Date())
|
|
|
- .update();
|
|
|
}
|
|
|
}
|
|
|
|