update 订单退款明细

This commit is contained in:
2023-09-15 14:00:45 +08:00
parent 923aaa3537
commit cadfa31c98
6 changed files with 298 additions and 250 deletions

View File

@@ -1,40 +1,75 @@
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.MemberWalletLog;
import com.jsowell.pile.dto.UniAppQueryMemberBalanceDTO;
import com.jsowell.pile.vo.uniapp.MemberBalanceVO;
import com.jsowell.pile.vo.uniapp.MemberWalletLogVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface MemberWalletLogMapper {
// int deleteByPrimaryKey(Integer id);
/**
* delete by primary key
*
* @param id primaryKey
* @return deleteCount
*/
int deleteByPrimaryKey(Integer id);
// int insert(MemberWalletLog record);
/**
* insert record to table
*
* @param record the record
* @return insert count
*/
int insert(MemberWalletLog record);
// int insertSelective(MemberWalletLog record);
/**
* insert record to table selective
*
* @param record the record
* @return insert count
*/
int insertSelective(MemberWalletLog record);
// MemberWalletLog selectByPrimaryKey(Integer id);
/**
* select by primary key
*
* @param id primary key
* @return object by primary key
*/
MemberWalletLog selectByPrimaryKey(Integer id);
// int updateByPrimaryKeySelective(MemberWalletLog record);
/**
* update record selective
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(MemberWalletLog record);
// int updateByPrimaryKey(MemberWalletLog record);
/**
* update record
*
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(MemberWalletLog record);
void batchInsert(@Param("list") List<MemberWalletLog> logList);
/**
* 查询用户账户余额变动信息
*
* @param memberId 会员id
* @param type 1-进账2-出账 不传查全部
* @param type 1-进账2-出账 不传查全部
*/
List<MemberWalletLogVO> getMemberBalanceChanges(@Param("memberId") String memberId, @Param("type") String type);
/**
* 小程序查询会员余额明细
*
* @param dto
* @return
*/
@@ -42,6 +77,7 @@ public interface MemberWalletLogMapper {
/**
* 批量查询用户可退款金额
*
* @param memberIds
* @return
*/