CreditGrantingInfoMapper.java
2.63 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package com.lhcredit.project.business.creditGrantingInfo.mapper;
import com.lhcredit.project.business.creditGrantingInfo.domain.CreditGrantingInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.Date;
import java.util.List;
/**
* 信用评级申请 数据层
*
* @author lhcredit
* @date 2024-06-11
*/
public interface CreditGrantingInfoMapper {
/**
* 查询信用评级申请信息
*
* @param id 信用评级申请ID
* @return 信用评级申请信息
*/
public CreditGrantingInfo selectCreditGrantingInfoById(Long id);
/**
* 查询信用评级申请列表
*
* @param creditGrantingInfo 信用评级申请信息
* @return 信用评级申请集合
*/
public List<CreditGrantingInfo> selectCreditGrantingInfoList(CreditGrantingInfo creditGrantingInfo);
/**
* 新增信用评级申请
*
* @param creditGrantingInfo 信用评级申请信息
* @return 结果
*/
public int insertCreditGrantingInfo(CreditGrantingInfo creditGrantingInfo);
/**
* 修改信用评级申请
*
* @param creditGrantingInfo 信用评级申请信息
* @return 结果
*/
public int updateCreditGrantingInfo(CreditGrantingInfo creditGrantingInfo);
/**
* 删除信用评级申请
*
* @param id 信用评级申请ID
* @return 结果
*/
public int deleteCreditGrantingInfoById(Long id);
/**
* 批量删除信用评级申请
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteCreditGrantingInfoByIds(String[] ids);
@Select("select * from credit_granting_info where creditLimitAdd is not null order by create_time desc")
List<CreditGrantingInfo> selectCreditApplicationList();
List<CreditGrantingInfo> selectPageList(@Param("ename") String ename,
@Param("creditLimitSt") Long creditLimitSt,
@Param("creditLimitEd") Long creditLimitEd,
@Param("creditStatus") String creditStatus,
@Param("creditLv") String creditLv,
@Param("creditTimeSt") Date creditTimeSt,
@Param("creditTimeEd") Date creditTimeEd,
@Param("sort") Integer sort,
@Param("orgId") Long orgId);
List<CreditGrantingInfo> selectCreditGrantingInfoListApplication(CreditGrantingInfo creditGrantingInfo);
}