mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
add批量方法
This commit is contained in:
@@ -4,15 +4,17 @@ import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Getter;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import lombok.experimental.Accessors;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
/**
|
||||
* 会员钱包信息表
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@SuperBuilder
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user