提交 | 用户 | 时间
|
8286c6
|
1 |
package cn.stylefeng.guns.workflow.modular.mapper; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.workflow.modular.entity.Model; |
|
4 |
import cn.stylefeng.guns.workflow.modular.model.params.ModelParam; |
|
5 |
import cn.stylefeng.guns.workflow.modular.model.result.ModelResult; |
|
6 |
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|
7 |
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
8 |
import org.apache.ibatis.annotations.Param; |
|
9 |
|
|
10 |
import java.util.List; |
|
11 |
import java.util.Map; |
|
12 |
|
|
13 |
/** |
|
14 |
* <p> |
|
15 |
* Mapper 接口 |
|
16 |
* </p> |
|
17 |
* |
|
18 |
* @author stylefeng |
|
19 |
* @since 2019-08-06 |
|
20 |
*/ |
|
21 |
public interface ModelMapper extends BaseMapper<Model> { |
|
22 |
|
|
23 |
/** |
|
24 |
* 获取列表 |
|
25 |
* |
|
26 |
* @author stylefeng |
|
27 |
* @Date 2019-08-06 |
|
28 |
*/ |
|
29 |
List<ModelResult> customList(@Param("paramCondition") ModelParam paramCondition); |
|
30 |
|
|
31 |
/** |
|
32 |
* 获取map列表 |
|
33 |
* |
|
34 |
* @author stylefeng |
|
35 |
* @Date 2019-08-06 |
|
36 |
*/ |
|
37 |
List<Map<String, Object>> customMapList(@Param("paramCondition") ModelParam paramCondition); |
|
38 |
|
|
39 |
/** |
|
40 |
* 获取分页实体列表 |
|
41 |
* |
|
42 |
* @author stylefeng |
|
43 |
* @Date 2019-08-06 |
|
44 |
*/ |
|
45 |
Page<ModelResult> customPageList(@Param("page") Page page, @Param("paramCondition") ModelParam paramCondition); |
|
46 |
|
|
47 |
/** |
|
48 |
* 获取分页map列表 |
|
49 |
* |
|
50 |
* @author stylefeng |
|
51 |
* @Date 2019-08-06 |
|
52 |
*/ |
|
53 |
Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ModelParam paramCondition); |
|
54 |
|
|
55 |
} |