| | |
| | | |
| | | @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 |
| | |
| | | .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)); |
| | | } |
| | | } |