|
@@ -219,7 +219,9 @@ public class NoticeWebsitLogic {
|
|
|
.list();
|
|
|
for (NoticeWebsitRecord websitRecord : list) {
|
|
|
|
|
|
-
|
|
|
+ websitRecord.setReadFlag(IsYesNoEnum.YES.getKey());
|
|
|
+ websitRecord.setReadTime(new Date());
|
|
|
+ websitRecord.updateById();
|
|
|
NoticeWebsit one = noticeWebsitService.getById(websitRecord.getNoticeWebsitId());
|
|
|
if (one != null){
|
|
|
one.setNum(noticeWebsitRecordService.lambdaQuery()
|
|
@@ -228,9 +230,7 @@ public class NoticeWebsitLogic {
|
|
|
one.updateById();
|
|
|
}
|
|
|
|
|
|
- websitRecord.setReadFlag(IsYesNoEnum.YES.getKey());
|
|
|
- websitRecord.setReadTime(new Date());
|
|
|
- websitRecord.updateById();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|