xiaoyong931011
2023-09-21 54be1e5481d58ea7fa39a34c0bd0e442c406a4b8
src/main/java/cc/mrbird/febs/dapp/mapper/DappMemberDao.java
@@ -2,15 +2,20 @@
import cc.mrbird.febs.dapp.dto.MallGoodsQueryDto;
import cc.mrbird.febs.dapp.dto.MallOrderQueryDto;
import cc.mrbird.febs.dapp.dto.PackageRecordDto;
import cc.mrbird.febs.dapp.entity.DappMemberEntity;
import cc.mrbird.febs.dapp.entity.MallAddressInfo;
import cc.mrbird.febs.dapp.entity.MallOrderInfo;
import cc.mrbird.febs.dapp.soccer.entity.SoccerLeagues;
import cc.mrbird.febs.dapp.vo.*;
import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
@@ -74,6 +79,8 @@
    BigDecimal selectAllAchieveByInviteId(@Param("inviteId")String inviteId);
    BigDecimal selectAllAchieveByRefId(@Param("inviteId")String inviteId);
    List<DappMemberEntity> selectMemberByNotAccountType(@Param("accountType")String type);
    List<DappMemberEntity> selectByNodetype();
@@ -108,5 +115,25 @@
    IPage<MallAddressInfo> selectShopAddressListInPage(@Param("record")MallGoodsQueryDto queryDto, Page<MallAddressInfo> page);
    void updateIsDefault(Integer isYourN, Long memberId, Object o);
    int updateIsDefault(@Param("isDefault") Integer isDefault, @Param("memberId") Long memberId, @Param("id") Long id);
    void deleteByOrderId(@Param("orderId")Long id);
    MallAddressInfo selectAddressOneByMemberId(@Param("memberId")Long memberId);
    BigDecimal selectOrderAmountByTime(@Param("type") String type, @Param("date") Date date);
    Integer selectOrderCountByTime(@Param("type") String type, @Param("date") Date date);
    BigDecimal selectAccountChangeAfterAmountByTime(@Param("type") String type, @Param("date") Date date);
    List<PackageRecordVo> selectPackageRecordDayInPage(@Param("date") Date date);
    List<PackageRecordVo> selectPackageRecordMonthInPage(@Param("date") Date date);
    List<PackageRecordVo> selectPackageRecordWeekInPage(@Param("date") Date date);
    MallOrderInfo selectOrderByOrderNo(@Param("orderNo") String orderNo);
    IPage<SoccerLeagues> selectSoccerLeaguesInPage(@Param("record")SoccerLeagues soccerLeagues, Page<SoccerLeagues> page);
}