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

@@ -32,6 +32,11 @@ public class UniAppQueryMemberBalanceDTO extends BaseMemberDTO{
*/
private String endDate;
/**
* 钱包编号
*/
private String walletCode;
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)

View File

@@ -67,4 +67,6 @@ public interface MemberWalletInfoMapper {
MemberWalletInfo selectByMemberId(@Param("memberId") String memberId, @Param("merchantId") String merchantId);
List<MemberWalletInfo> selectByMemberWalletList(@Param("memberId") String memberId);
MemberWalletInfo selectByWalletCode(@Param("walletCode") String walletCode);
}

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);