Crunchy
2024-04-23 1b26d8c3dd1800fc717081298cd9a612e769860f
framework/src/main/java/com/yuanchu/mom/service/impl/InformationNotificationServiceImpl.java
@@ -58,4 +58,11 @@
                        .last("limit 1"));
        return !informationNotifications.isEmpty();
    }
    @Override
    public void triggerModificationStatusToRead(Integer id) {
        baseMapper.update(new InformationNotification(), Wrappers.<InformationNotification>lambdaUpdate()
                .eq(InformationNotification::getId, id)
                .set(InformationNotification::getViewStatus, true));
    }
}