 package com.bcxin.ins.dao.order;

import com.bcxin.ins.entity.policy_core.InsShipInvoices;
import com.bcxin.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import com.bcxin.ins.spring.annotation.MyBatisDao;

import java.util.List;

 /**
 * 信用险-出运发票接口
 * @author liumd
 * @date 2016年12月30日
 */
@MyBatisDao
public interface ShipInvoicesAPIDao extends BaseMapper<InsShipInvoices> {
	
	/** 根据ID获取发票
	 * 	没取到返回null
	 * */
	public List<InsShipInvoices> getShipInvoicesById(@Param("id") Long id);
	
	/** 根据出运ID获取发票
	 * 	没取到返回null
	 * */
	public List<InsShipInvoices> getShipInvoicesByShipDeclareId(@Param("shipDeclareId") Long shipDeclareId);
	
	/** 根据逾期ID获取发票
	 * 	没取到返回null
	 * */
	public List<InsShipInvoices> getShipInvoicesByShipExpireId(@Param("ShipExpireId") Long ShipExpireId);

	
}
