You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.4 KiB

3 months ago
7 months ago
  1. package com.example.demo.service.cash;
  2. import com.example.demo.domain.DTO.PerformanceDTO;
  3. import com.example.demo.domain.entity.CashRecord;
  4. import com.example.demo.domain.entity.GOrder;
  5. import com.example.demo.domain.entity.RechargeActivity;
  6. import com.example.demo.domain.vo.cash.CashCollection;
  7. import com.example.demo.domain.vo.cash.PerformanceVO;
  8. import com.example.demo.domain.vo.cash.UserWalletRecordVO;
  9. import com.example.demo.domain.vo.cash.UserWalletVO;
  10. import com.example.demo.domain.vo.coin.Result;
  11. import com.github.pagehelper.PageInfo;
  12. import java.util.List;
  13. /**
  14. * @program: gold-java
  15. * @ClassName cashCollectionService
  16. * @description:
  17. * @author: Ethan
  18. * @create: 202509-26 11:23
  19. * @Version 1.0
  20. **/
  21. public interface CashCollectionService {
  22. //新增收款订单
  23. String add(CashCollection cashCollection,String lang);
  24. //赠送免费金币
  25. String addFreeCoin(CashCollection cashCollection,String lang);
  26. //撤回未审核的收款订单
  27. String cancel(String orderCode);
  28. //编辑并重新提交收款订单
  29. String reSubmit(CashRecord cashRecord,String lang);
  30. //多条件查询收款订单列表
  31. PageInfo<CashCollection> selectCollection(Integer pageNum, Integer pageSize, CashCollection cashCollection);
  32. //补全手续费等
  33. String complete(CashRecord cashRecord);
  34. //根据精网号获取姓名和地区
  35. Result getNameAndMarket(Integer jwcode,String lang);
  36. //获取活动列表
  37. List<RechargeActivity> getActivityList();
  38. //同步g_order订单到cash_record表
  39. Object syncToCashRecord();
  40. //根据id查询收款订单
  41. CashCollection selectById(CashCollection cashCollection);
  42. //根据goldcoin订单号查询收款订单
  43. CashCollection selectByGoldCoinOrderCode(String orderNo);
  44. //同步事务方法
  45. void processBatch(List<GOrder> gOrders);
  46. PageInfo<PerformanceVO> performanceSelect(Integer pageNum, Integer pageSize, PerformanceDTO performanceDTO);
  47. // 根据精网号和钱包 ID 查询用户钱包明细列表(分页)
  48. PageInfo<UserWalletRecordVO> selectWalletRecordsByJwcodeAndWalletId(
  49. Integer pageNum, Integer pageSize, Integer jwcode, Integer walletId);
  50. // 根据精网号和地区查询用户的所有钱包 ID 和金币数量(包含用户名和地区)(分页)
  51. PageInfo<UserWalletVO> selectUserWallets(Integer jwcode, String market, Integer pageNum, Integer pageSize);
  52. }