|
@@ -258,9 +258,9 @@ public class NoticeWebsitLogic {
|
|
|
NoticeWebsit one = noticeWebsitService.getById(noticeWebsitRecord.getNoticeWebsitId());
|
|
|
if (one != null){
|
|
|
noticeWebsitService.lambdaUpdate()
|
|
|
- .eq(NoticeWebsit::getNoticeWebsitId,one.getNoticeWebsitId())
|
|
|
+ .in(NoticeWebsit::getNoticeWebsitId,one.getNoticeWebsitId())
|
|
|
.set(NoticeWebsit::getNum,noticeWebsitRecordService.lambdaQuery()
|
|
|
- .eq(NoticeWebsitRecord::getNoticeWebsitId,id)
|
|
|
+ .eq(NoticeWebsitRecord::getNoticeWebsitId,idOne)
|
|
|
.eq(NoticeWebsitRecord::getReadFlag,IsYesNoEnum.YES.getKey()).count()).update();
|
|
|
}
|
|
|
}
|