<?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.tofly.xrtygis.mapper.DmaicfMapper">

    <resultMap id="dmaicfMap" type="com.tofly.xrtygis.entity.Dmaicf">
        <id property="id" column="ID"/>
        <result property="mid" column="MID"/>
        <result property="bval" column="BVAL"/>
        <result property="bsign" column="BSIGN"/>
        <result property="eval" column="EVAL"/>
        <result property="esign" column="ESIGN"/>
        <result property="icf" column="ICF"/>
        <result property="notes" column="NOTES"/>
        <result property="sort" column="SORT"/>
        <result property="beginTubeAge" column="BEGIN_TUBE_AGE"/>
        <result property="endTubeAge" column="END_TUBE_AGE"/>
    </resultMap>
    <select id="getIcfByYear" resultType="string">
        select ICF from TF_YWPN_DMAICF_W where MID = ${mid} and ${year} ${bsign} BVAL and ${year} ${esign} EVAL
    </select>




</mapper>
