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

41 lines
1.2 KiB
Java
Raw Normal View History

2023-03-04 16:29:55 +08:00
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.MemberWalletLog;
2023-07-22 15:23:31 +08:00
import com.jsowell.pile.dto.UniAppQueryMemberBalanceDTO;
2023-03-04 16:29:55 +08:00
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);
// int insert(MemberWalletLog record);
// int insertSelective(MemberWalletLog record);
// MemberWalletLog selectByPrimaryKey(Integer id);
// int updateByPrimaryKeySelective(MemberWalletLog record);
// int updateByPrimaryKey(MemberWalletLog record);
void batchInsert(@Param("list") List<MemberWalletLog> logList);
/**
* 查询用户账户余额变动信息
* @param memberId 会员id
* @param type 1-进账2-出账 不传查全部
*/
List<MemberWalletLogVO> getMemberBalanceChanges(@Param("memberId") String memberId, @Param("type") String type);
2023-07-22 15:23:31 +08:00
/**
* 小程序查询会员余额明细
* @param dto
* @return
*/
List<MemberWalletLogVO> getMemberWalletDetail(@Param("dto") UniAppQueryMemberBalanceDTO dto);
2023-03-04 16:29:55 +08:00
}