UserMoneyDetailsDao.java 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.sqx.modules.app.dao;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  5. import com.sqx.modules.app.entity.UserMoneyDetails;
  6. import com.sqx.modules.pay.controller.query.CashOutQueryDTO;
  7. import com.sqx.modules.pay.controller.query.WalletDetailQuery;
  8. import com.sqx.modules.pay.vo.CashOutVO;
  9. import com.sqx.modules.pay.vo.WalletDetailVO;
  10. import org.apache.ibatis.annotations.Mapper;
  11. import org.apache.ibatis.annotations.Param;
  12. import java.math.BigDecimal;
  13. import java.util.List;
  14. @Mapper
  15. public interface UserMoneyDetailsDao extends BaseMapper<UserMoneyDetails> {
  16. Double monthIncome(@Param("date") String date, @Param("userId") Long userId);
  17. Double selectMyProfit(Long userId);
  18. IPage<UserMoneyDetails> selectUserMoneyDetails(Page<UserMoneyDetails> pages, @Param("userId") Long userId, @Param("classify") Integer classify);
  19. IPage<UserMoneyDetails> selectPwCashDetails(Page<UserMoneyDetails> pages, @Param("userName") String userName, @Param("date") String date,
  20. @Param("dateType") String dateType, @Param("zhifubao") String zhifubao, @Param("zhifubaoName") String zhifubaoName,
  21. @Param("userId") Long userId);
  22. IPage<UserMoneyDetails> selectShopCashDeposit(Page<UserMoneyDetails> pages, Long shopId, Integer classify);
  23. IPage<UserMoneyDetails> selectShopCashDepositList(Page<UserMoneyDetails> pages, Long shopId);
  24. IPage<WalletDetailVO> walletDetailList(@Param("page") Page<UserMoneyDetails> pages, @Param("query") WalletDetailQuery query);
  25. BigDecimal walletDetailStatistics(@Param("query") WalletDetailQuery query);
  26. List<WalletDetailVO> excelWalletDetails(@Param("query") WalletDetailQuery query);
  27. List<UserMoneyDetails> accountEntryManagementDetailsList(@Param("row") Integer row, @Param("limit") Integer limit, @Param("shopName") String shopName, @Param("shopPhone") String shopPhone,
  28. @Param("userPhone") String userPhone, @Param("couponName") String couponName,
  29. @Param("orderNumber") String orderNumber, @Param("startTime") String startTime, @Param("endTime") String endTime);
  30. int accountEntryManagementDetailsCount(@Param("shopName") String shopName, @Param("shopPhone") String shopPhone,
  31. @Param("userPhone") String userPhone, @Param("couponName") String couponName,
  32. @Param("orderNumber") String orderNumber, @Param("startTime") String startTime, @Param("endTime") String endTime);
  33. }