zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
commit | author | age
a18bfa 1 package com.changhong.epc.form.mapper.tenant.apply;
Z 2
3 import com.changhong.epc.bean.form.apply.ApplyMerge;
4 import com.changhong.epc.bean.form.apply.ApplyMergeDto;
5 import com.iemsoft.framework.cloud.mybatis.common.MybatisBaseMapper;
6 import org.apache.ibatis.annotations.Param;
7
8 import java.util.Collection;
9 import java.util.List;
10 import java.util.Map;
11
12 public interface ApplyMergeMapper extends MybatisBaseMapper<ApplyMerge> {
13
14     /**
15      * 查询申请信息
16      * @param dataRowNum
17      * @return
18      */
19     Map<String,Object> selectApplyInfo(@Param("dataRowNum") int dataRowNum, @Param("formId") String formId);
20
21     /**
22      * 查询可合并用汇的申请信息
23      * @param applyInfo
24      * @return
25      */
26     List<Map<String,Object>> selectApplyMergeList(@Param("info") Map<String,Object> applyInfo, @Param("formId") String formId);
27
28     /**
29      * 根据id查询申请单列表
30      * @param ids
31      * @param formId
32      * @return
33      */
34     List<Map<String,Object>> selectApplyMergeListByIds(@Param("ids") Collection<Integer> ids, @Param("formId") String formId);
35
36     /**
37      * 根据id查询申请单行程列表
38      * @param ids
39      * @param formId
40      * @return
41      */
42     List<Map<String,Object>> selectApplyMergeChildList(@Param("ids") Collection<Integer> ids, @Param("formId") String formId);
43
44     /**
45      * 删除
46      * @param dataRowNum
47      * @return
48      */
49     int deleteByDataRowNum(int dataRowNum);
50
51     /**
52      * 获取结束的申请单的个数
53      * @param applyMergeDto
54      * @return
55      */
56     int countOverApply(ApplyMergeDto applyMergeDto);
57 }