liulin
2025-07-03 fb2f11d7d502ceacbe7fbed176bea4ab0f152f69
src/main/java/com/lunhan/water/repository/impl/RechargeRecordsMapperImpl.java
@@ -32,6 +32,7 @@
import com.lunhan.water.repository.BasicMapperImpl;
import org.springframework.stereotype.Repository;
import java.math.BigDecimal;
import java.util.List;
import com.lunhan.water.entity.search.SearchRechargeRecords;
import com.lunhan.water.repository.mapper.RechargeRecordsMapper;
@@ -56,7 +57,7 @@
      // 非逻辑删除
      queryWrapper.eq(RechargeRecordsPO::getIsDelete, EYesOrNo.NO.getValue());
      // 状态
      //queryWrapper.eq(NumericUtil.tryParseInt(search.getStatus()).compareTo(0) > 0, RechargeRecordsPO::getStatus, search.getStatus());
      queryWrapper.ge(NumericUtil.tryParseLong(search.getUserId()).compareTo(0L) > 0, RechargeRecordsPO::getUserId, search.getUserId());
      // 状态列表
      //queryWrapper.in(ListUtil.isNotNullOrEmpty(search.getListStatus()), RechargeRecordsPO::getStatus, search.getListStatus());
@@ -132,10 +133,13 @@
            .eq(RechargeRecordsPO::getRechargeStatus,0);
      return DB.selectOne(queryWrapper);
   }
   public RechargeRecordsPO getById(Long id) {
      return super.get(id);
   }
   public BigDecimal getSumBuyCount(Long userId){
      return DB.getSumBuyCount(userId);
   }
   public List<RechargeRecordsPO> getListById(List<Long> listId) {
      return super.getList(listId);
   }