1234567891011121314151617181920212223242526272829303132 |
- package com.caimei.modules.sys.service;
- import com.caimei.modules.sys.dao.NotificationDao;
- import com.caimei.modules.sys.entity.Notification;
- import com.thinkgem.jeesite.common.persistence.Page;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import org.springframework.transaction.annotation.Transactional;
- import java.util.List;
- /**
- * Description
- *
- * @author : Charles
- * @date : 2022/7/20
- */
- @Service
- @Transactional(readOnly = true)
- public class NotificationService {
- @Autowired
- NotificationDao notificationDao;
- public Page<Notification> notificationPagen(Page<Notification> page, Notification notification) {
- notification.setPage(page);
- List<Notification> list= notificationDao.notification(notification);
- page.setList(list);
- return page;
- }
- }
|