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