Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/mapper/MemberWalletInfoMapper.java

66 lines
1.5 KiB
Java
Raw Normal View History

2023-03-04 16:29:55 +08:00
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.MemberWalletInfo;
2023-11-09 09:15:47 +08:00
import org.apache.ibatis.annotations.Param;
2023-11-10 15:14:54 +08:00
import org.springframework.stereotype.Repository;
2023-03-04 16:29:55 +08:00
2023-11-10 15:14:54 +08:00
@Repository
2023-03-04 16:29:55 +08:00
public interface MemberWalletInfoMapper {
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
2023-03-04 16:29:55 +08:00
int deleteByPrimaryKey(Integer id);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
2023-03-04 16:29:55 +08:00
int insert(MemberWalletInfo record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
2023-03-04 16:29:55 +08:00
int insertSelective(MemberWalletInfo record);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
2023-03-04 16:29:55 +08:00
MemberWalletInfo selectByPrimaryKey(Integer id);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
2023-03-04 16:29:55 +08:00
int updateByPrimaryKeySelective(MemberWalletInfo record);
/**
* update record
*
* @param record the updated record
* @return update count
*/
2023-03-04 16:29:55 +08:00
int updateByPrimaryKey(MemberWalletInfo record);
2023-11-09 09:15:47 +08:00
// MemberWalletInfo selectByMemberId(String memberId);
/**
* 根据会员id和目标运营商id查询用户钱包信息
* @param memberId
* @param merchantId
* @return
*/
2023-11-09 09:15:47 +08:00
MemberWalletInfo selectByMemberId(@Param("memberId") String memberId, @Param("merchantId") String merchantId);
2023-03-04 16:29:55 +08:00
}