package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.JftReceiptPayment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 收款单和付款信息关联表 Mapper 接口
 * </p>
 *
 * @author crystal
 * @since 2022-06-16
 */
public interface JftReceiptPaymentMapper extends BaseMapper<JftReceiptPayment> {

    @Select("SELECT pid FROM tb_pluss_jft_receipt_payment WHERE  rid = #{receiptid}")
    List<Long> listByReceiptId(Long receiptid);

}
