提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.rest.service; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.base.pojo.page.LayuiPageFactory; |
|
4 |
import cn.stylefeng.guns.sys.modular.rest.entity.RestNotice; |
|
5 |
import cn.stylefeng.guns.sys.modular.rest.mapper.RestNoticeMapper; |
|
6 |
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
7 |
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
8 |
import org.springframework.stereotype.Service; |
|
9 |
|
|
10 |
import java.util.Map; |
|
11 |
|
|
12 |
/** |
|
13 |
* <p> |
|
14 |
* 通知表 服务实现类 |
|
15 |
* </p> |
|
16 |
* |
|
17 |
* @author stylefeng |
|
18 |
* @since 2018-12-07 |
|
19 |
*/ |
|
20 |
@Service |
|
21 |
public class RestNoticeService extends ServiceImpl<RestNoticeMapper, RestNotice> { |
|
22 |
|
|
23 |
/** |
|
24 |
* 获取通知列表 |
|
25 |
* |
|
26 |
* @author fengshuonan |
|
27 |
* @Date 2018/12/23 6:05 PM |
|
28 |
*/ |
|
29 |
public Page<Map<String, Object>> list(String condition) { |
|
30 |
Page page = LayuiPageFactory.defaultPage(); |
|
31 |
return this.baseMapper.list(page, condition); |
|
32 |
} |
|
33 |
} |