chenjiahe
2021-12-14 00565f063877182ef44aec700cffacf00c7a6d26
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
36
37
38
39
40
package com.hx.phip.dao.mapper;
 
import java.util.List;
import java.util.Map;
import com.hx.mybatisTool.SqlSentence;
import com.hx.phiappt.model.deduction.DeductionDrugs;
import org.apache.ibatis.annotations.Param;
 
public interface DeductionDrugsMapper {
    /**新增,返回主键*/
    int insert(DeductionDrugs deductionDrugs);
    /**查询条数*/
    int selectCount(SqlSentence sqlSentence);
    /**查询条数*/
    int selectCountSql(SqlSentence sqlSentence);
    /**查询列表,返回实体类的List*/
    List<DeductionDrugs> selectList(SqlSentence sqlSentence);
    /**查询列表,返回实体类的List*/
    List<DeductionDrugs> selectListByDeductionSingleId(@Param("deductionSingleId") String deductionSingleId, @Param("deductionProjectId") String deductionProjectId);
    /**查询列表,返回Map的List*/
    List<Map<String,Object>> selectListMap(SqlSentence sqlSentence);
    /**查询,返回单个实体*/
    DeductionDrugs selectOne(SqlSentence sqlSentence);
    /**查询,返回单个map*/
    Map<String,Object> selectOneMap(SqlSentence sqlSentence);
    /**查询,返回实体类没有大数据的*/
    DeductionDrugs selectOneByKey(Object object);
    /**查询,返回实体类有大数据的*/
    DeductionDrugs selectOneByKeyBlob(Object object);
    /**更新,返回更新数量*/
    int updateWhere(SqlSentence sqlSentence);
    /**更新,返回更新数量*/
    int updateAll(DeductionDrugs deductionDrugs);
    /**删除,返回删除数量*/
    int deleteWhere(SqlSentence sqlSentence);
    /**删除,返回删除数量*/
    int deleteById(Object object);
    /**删除,返回删除数量*/
    int deleteByDeductionSingleId(@Param("deductionSingleId") String deductionSingleId, @Param("deductionProjectId") String deductionProjectId);
}