TdBWxConfigDaoImpl.java
1.22 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
package com.zteits.pay.dao.impl;
import java.util.List;
import com.zteits.pay.dao.TdBWxConfigDao;
import com.zteits.pay.domain.TdBWxConfig;
import com.zteits.pay.mapper.smapper.TdBWxConfigSMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* Copyright: Copyright (c) 2017 zteits
*
* @ClassName: com.zteits.pay.dao.impl
* @Description:
* @version: v1.0.0
* @author: atao
* @date: 2017/7/26 上午11:50
* Modification History:
* Date Author Version Description
* ---------------------------------------------------------*
* 2017/7/26 atao v1.0.0 创建
*/
@Component("com.zteits.pay.dao.impl.TdBWxConfigDaoImpl")
public class TdBWxConfigDaoImpl implements TdBWxConfigDao {
@Autowired
private TdBWxConfigSMapper tdBWxConfigSMapper;
@Override
public TdBWxConfig queryWxConfigByAppId(String appId) {
TdBWxConfig tdBWxConfig = tdBWxConfigSMapper.queryWxConfigByAppid(appId);
return tdBWxConfig;
}
@Override
public List<TdBWxConfig> queryAllWxConfigs() {
List<TdBWxConfig> tdBWxConfigs = tdBWxConfigSMapper.queryAllWxConfigs();
return tdBWxConfigs;
}
}