<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.jianshui.income.mapper.InvoiceCheckFreightMapper">
    
    <resultMap type="com.jianshui.income.domain.entity.InvoiceCheckFreight" id="InvoiceCheckFreightResult">
        <result property="invoice_check_id"    column="invoice_check_id"    />
        <result property="cyrmc"    column="cyrmc"    />
        <result property="cyrsbh"    column="cyrsbh"    />
        <result property="spfmc"    column="spfmc"    />
        <result property="spfsbh"    column="spfsbh"    />
        <result property="shrmc"    column="shrmc"    />
        <result property="shrsbh"    column="shrsbh"    />
        <result property="fhrmc"    column="fhrmc"    />
        <result property="fhrsbh"    column="fhrsbh"    />
        <result property="ysgwxx"    column="ysgwxx"    />
        <result property="qydjyddd"    column="qydjyddd"    />
        <result property="skph"    column="skph"    />
        <result property="czch"    column="czch"    />
        <result property="ccdw"    column="ccdw"    />
    </resultMap>

    <sql id="selectInvoiceCheckFreightVo">
        select  invoice_check_id,cyrmc, cyrsbh, spfmc, spfsbh, shrmc, shrsbh, fhrmc, fhrsbh, ysgwxx, qydjyddd, skph, czch, ccdw from invoice_check_freight
    </sql>


    <select id="selectInvoiceCheckFreightById" parameterType="Long" resultMap="InvoiceCheckFreightResult">
        <include refid="selectInvoiceCheckFreightVo"/>
        where invoice_check_id = #{invoice_check_id}
    </select>
        

    
</mapper>