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.

51 lines
1.8 KiB

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