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.

55 lines
2.1 KiB

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