package com.yc.ship.module.trade.dal.mysql.order;


import com.yc.ship.framework.mybatis.core.mapper.BaseMapperX;
import com.yc.ship.module.trade.dal.dataobject.order.TradeOrderPayDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;


/**
 * 订单支付 Mapper
 *
 * @author 管理员
 */
@Mapper
public interface TradeOrderPayMapper extends BaseMapperX<TradeOrderPayDO> {

    BigDecimal selectHadPayAmount(@Param("orderId") Long orderId);
    TradeOrderPayDO selectPayOrderBySupplierOrderNo(@Param("supplierOrderNo") String supplierOrderNo);
    TradeOrderPayDO getOrderPayType(@Param("orderId") Long orderId);
}