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.

48 lines
1.6 KiB

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