AcctNoSecretDaoImpl.java
1.51 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
package com.zteits.pay.dao.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.zteits.clouds.api.dto.pay.TdCAcctNoSecretDTO;
import com.zteits.clouds.api.dto.pay.param.TdCAcctNoSecretRequest;
import com.zteits.pay.dao.AcctNoSecretDao;
import com.zteits.pay.domain.TdCAcctNoSecret;
import com.zteits.pay.mapper.TdCAcctNoSecretMapper;
import com.zteits.pay.mapper.smapper.TdCAcctNoSecretSMapper;
@Component
public class AcctNoSecretDaoImpl implements AcctNoSecretDao{
@Autowired
private TdCAcctNoSecretSMapper tdCAcctNoSecretSMapper;
@Autowired
private TdCAcctNoSecretMapper tdCAcctNoSecretMapper;
@Override
public List<TdCAcctNoSecret> getAcctNoSecret(TdCAcctNoSecretRequest request) {
return tdCAcctNoSecretSMapper.getAcctNoSecret(request);
}
@Override
public Integer saveAcctNoSecretBindAcctType(TdCAcctNoSecret tdCAcctNoSecret) {
return tdCAcctNoSecretMapper.insertSelective(tdCAcctNoSecret);
}
@Override
public Integer deleteAcctNoSecretBindAcctType(TdCAcctNoSecret tdCAcctNoSecret) {
return tdCAcctNoSecretSMapper.deleteAcctNoSecretBindAcctType(tdCAcctNoSecret);
}
@Override
public Integer updateAcctNoSecretBindAcctType(List<TdCAcctNoSecret> tdCAcctNoSecret) {
return tdCAcctNoSecretSMapper.updateAcctNoSecretBindAcctType(tdCAcctNoSecret);
}
@Override
public List<TdCAcctNoSecretDTO> getAllAcctNoSecret(TdCAcctNoSecretRequest request) {
return tdCAcctNoSecretSMapper.getAllAcctNoSecret(request);
}
}