package com.mcwl.pay.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mcwl.pay.domain.OrderTrade;
import com.mcwl.pay.domain.PaymentResult;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author：ChenYan
 * @Project：McWl
 * @Package：com.mcwl.pay.mapper
 * @Filename：OrderTradeMapper
 * @Description TODO
 * @Date：2025/1/3 14:51
 */
@Mapper
public interface OrderTradeMapper extends BaseMapper<OrderTrade> {

    PaymentResult chargeCard(Integer totalAmount, String paymentMethod);

}
