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.

64 lines
2.6 KiB

package com.example.demo.service.cash;
import com.example.demo.domain.DTO.AddFundsDTO;
import com.example.demo.domain.DTO.PerformanceAdjustmentDTO;
import com.example.demo.domain.DTO.PerformanceDTO;
import com.example.demo.domain.entity.CashRecord;
import com.example.demo.domain.entity.GOrder;
import com.example.demo.domain.entity.RechargeActivity;
import com.example.demo.domain.vo.cash.*;
import com.example.demo.domain.vo.coin.Result;
import com.github.pagehelper.PageInfo;
import java.util.List;
/**
* @program: gold-java
* @ClassName cashCollectionService
* @description:
* @author: Ethan
* @create: 2025−09-26 11:23
* @Version 1.0
**/
public interface CashCollectionService {
//新增收款订单
String add(CashCollection cashCollection,String lang);
//赠送免费金币
String addFreeCoin(CashCollection cashCollection,String lang);
//撤回未审核的收款订单
String cancel(String orderCode);
//编辑并重新提交收款订单
String reSubmit(CashRecord cashRecord,String lang);
//多条件查询收款订单列表
PageInfo<CashCollection> selectCollection(Integer pageNum, Integer pageSize, CashCollection cashCollection);
//补全手续费等
String complete(CashRecord cashRecord);
//根据精网号获取姓名和地区
Result getNameAndMarket(Integer jwcode,String lang);
//获取活动列表
List<RechargeActivity> getActivityList();
//同步g_order订单到cash_record表
Object syncToCashRecord();
//根据id查询收款订单
CashCollection selectById(CashCollection cashCollection);
//根据goldcoin订单号查询收款订单
CashCollection selectByGoldCoinOrderCode(String orderNo);
//同步事务方法
void processBatch(List<GOrder> gOrders);
PageInfo<PerformanceVO> performanceSelect(Integer pageNum, Integer pageSize, PerformanceDTO performanceDTO);
// 根据精网号和钱包 ID 查询用户钱包明细列表(分页)
PageInfo<UserWalletRecordVO> selectWalletRecordsByJwcodeAndWalletId(
Integer pageNum, Integer pageSize, Integer jwcode, Integer walletId);
// 根据精网号和地区查询用户的所有钱包 ID 和金币数量(包含用户名和地区)(分页)
PageInfo<UserWalletVO> selectUserWallets(Integer jwcode, String market, Integer pageNum, Integer pageSize, String sortField, String sortOrder, Integer sortWalletId);
// 添加流水--其他收入
String addExFund(CashCollection addFundsDTO);
// 调整业绩
void adjust(PerformanceAdjustmentDTO adjustDTO);
//添加iPay88手续费
String addIpay88Fee(CashCollection cashCollection);
}