update 测试会员钱包流水导出

This commit is contained in:
YAS\29473
2025-08-15 13:22:20 +08:00
parent af92176bbf
commit c4055497a8
6 changed files with 172 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
package com.jsowell.pile.service;
import com.jsowell.pile.domain.MemberWalletLog;
import com.jsowell.pile.vo.MemberWalletLogVO2;
import java.util.List;
@@ -30,5 +31,7 @@ public interface MemberWalletLogService {
int batchInsert(List<MemberWalletLog> list);
List<MemberWalletLog> getOrderRecord(String orderCode, String type);
List<MemberWalletLogVO2> getByMemberId(String memberId);
}

View File

@@ -1,12 +1,21 @@
package com.jsowell.pile.service.impl;
import com.jsowell.common.exception.BusinessException;
import com.jsowell.pile.domain.MemberWalletLog;
import com.jsowell.pile.dto.QueryMemberInfoDTO;
import com.jsowell.pile.mapper.MemberWalletLogMapper;
import com.jsowell.pile.service.MemberWalletLogService;
import com.jsowell.pile.vo.MemberWalletLogVO2;
import com.jsowell.pile.vo.uniapp.customer.MemberVO;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@Service
public class MemberWalletLogServiceImpl implements MemberWalletLogService {
@@ -73,5 +82,11 @@ public class MemberWalletLogServiceImpl implements MemberWalletLogService {
public int batchInsert(List<MemberWalletLog> list) {
return memberWalletLogMapper.batchInsert(list);
}
@Override
public List<MemberWalletLogVO2> getByMemberId(String memberId) {
return memberWalletLogMapper.getByMemberId(memberId);
}
}