update 会员钱包

This commit is contained in:
2023-11-21 16:02:55 +08:00
parent 820fb203e1
commit 243981d81b
9 changed files with 30 additions and 5 deletions

View File

@@ -16,7 +16,9 @@ public interface MemberWalletInfoService {
MemberWalletInfo selectByMemberId(String memberId, String merchantId);
int updateByPrimaryKeySelective(MemberWalletInfo record);
MemberWalletInfo selectByWalletCode(String walletCode);
int updateByPrimaryKeySelective(MemberWalletInfo record);
int updateByPrimaryKey(MemberWalletInfo record);

View File

@@ -48,6 +48,11 @@ public class MemberWalletInfoServiceImpl implements MemberWalletInfoService {
return memberWalletInfoMapper.selectByMemberId(memberId, merchantId);
}
@Override
public MemberWalletInfo selectByWalletCode(String walletCode) {
return memberWalletInfoMapper.selectByWalletCode(walletCode);
}
@Override
public int updateByPrimaryKeySelective(MemberWalletInfo record) {
return memberWalletInfoMapper.updateByPrimaryKeySelective(record);