SysResourceMatchingMapper.java
1.93 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
package com.glsx.usercenter.mapper;
import com.glsx.usercenter.dto.res.SPResourceMatchingMerchantRes;
import com.glsx.usercenter.pojo.user.SysResourceMatching;
import com.glsx.usercenter.pojo.user.SysResourceMatchingExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SysResourceMatchingMapper {
long countByExample(SysResourceMatchingExample example);
int deleteByExample(SysResourceMatchingExample example);
int deleteByPrimaryKey(Integer id);
int insert(SysResourceMatching record);
int insertSelective(SysResourceMatching record);
List<SysResourceMatching> selectByExample(SysResourceMatchingExample example);
SysResourceMatching selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") SysResourceMatching record, @Param("example") SysResourceMatchingExample example);
int updateByExample(@Param("record") SysResourceMatching record, @Param("example") SysResourceMatchingExample example);
int updateByPrimaryKeySelective(SysResourceMatching record);
int updateByPrimaryKey(SysResourceMatching record);
/**
*
* @author zhanghj
* @Title: getSPResourceMatchingMerchantList
* @Description: TODO 获取服务商绑定的商户列表
* @param serviceId
* @return
* List<SPResourceMatchingMerchantRes>
* @version
*/
List<SysResourceMatching> getSPResourceMatchingMerchantList(
@Param("serviceId")Integer serviceId);
/**
*
* @author zhanghj
* @Title: getSPResourceMatchingServiceItemList
* @Description: TODO 获取服务商,对应商户的资源匹配服务项目列表
* @param serviceId
* @param merchantId
* @return
* List<SysResourceMatching>
* @version
*/
List<SysResourceMatching> getSPResourceMatchingServiceItemList(
@Param("serviceId")Integer serviceId, @Param("merchantId")Integer merchantId);
}