1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
| /**
| * Copyright (c) 2018 人人开源 All rights reserved.
| * <p>
| * https://www.renren.io
| * <p>
| * 版权所有,侵权必究!
| */
|
| package com.iailab.framework.common.service;
|
| import com.iailab.framework.common.page.PageData;
|
| import java.util.List;
| import java.util.Map;
|
| /**
| * CRUD基础服务接口
| *
| * @author Mark sunlightcs@gmail.com
| */
| public interface CrudService<T, D> extends BaseService<T> {
|
| PageData<D> page(Map<String, Object> params);
|
| List<D> list(Map<String, Object> params);
|
| D get(Long id);
|
| void save(D dto);
|
| void update(D dto);
|
| void delete(Long[] ids);
|
| }
|
|