add批量方法

This commit is contained in:
Guoqs
2025-07-24 14:20:57 +08:00
parent 0e97138689
commit ef55dd04af
3 changed files with 355 additions and 56 deletions

View File

@@ -1,22 +1,31 @@
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.MemberWalletInfo;
import com.jsowell.pile.vo.base.MemberWalletVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
import com.jsowell.pile.vo.base.MemberWalletVO;
import org.apache.ibatis.annotations.Param;
public interface MemberWalletInfoMapper {
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
int deleteByPrimaryKey(Integer id);
int insertSelective(MemberWalletInfo record);
MemberWalletInfo selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(MemberWalletInfo record);
int updateBatch(@Param("list") List<MemberWalletInfo> list);
int updateBatchSelective(@Param("list") List<MemberWalletInfo> list);
int batchInsert(@Param("list") List<MemberWalletInfo> list);
int insertOrUpdate(MemberWalletInfo record);
int insertOrUpdateSelective(MemberWalletInfo record);
/**
* insert record to table
*
@@ -25,30 +34,6 @@ public interface MemberWalletInfoMapper {
*/
int insert(MemberWalletInfo record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int insertSelective(MemberWalletInfo record);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
MemberWalletInfo selectByPrimaryKey(Integer id);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(MemberWalletInfo record);
/**
* update record
*
@@ -57,10 +42,9 @@ public interface MemberWalletInfoMapper {
*/
int updateByPrimaryKey(MemberWalletInfo record);
// MemberWalletInfo selectByMemberId(String memberId);
/**
* 根据会员id和目标运营商id查询用户钱包信息
*
* @param memberId
* @param merchantId
* @return