merge limo to daylight
This commit is contained in:
@@ -115,4 +115,13 @@ public class NotificationService {
|
||||
return response;
|
||||
}
|
||||
|
||||
public BaseApiResponse<Integer> readAllNotifications(String userId) {
|
||||
BaseApiResponse<Integer> response = new BaseApiResponse<>();
|
||||
int updated = sysLogNotificationRepository.markAllAsReadByUserId(userId, LocalDateTime.now());
|
||||
response.setSuccess(true);
|
||||
response.setCode("200");
|
||||
response.setData(updated);
|
||||
return response;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user