Crunchy
2024-05-08 f2aec44685466b0c514bffa7db4a2d0db1a7f28c
framework/src/main/java/com/yuanchu/mom/service/impl/InformationNotificationServiceImpl.java
@@ -31,7 +31,8 @@
    @Override
    public IPage<InformationNotificationDto> getPage(Page page, String messageType) {
        return baseMapper.getPage(page, messageType);
        Map<String, Integer> map1 = getLook.selectPowerByMethodAndUserId("selectInsOrderParameter");
        return baseMapper.getPage(page, messageType, map1.get("userId"));
    }
    @Override
@@ -58,4 +59,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));
    }
}