smhoutmapper.xml 19 KB
Newer Older
hulei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
<?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.brilliance.isc.mda.dao.SmhoutMapper">

    <resultMap id="BaseResultMap" type="com.brilliance.isc.bo.Smhout">
        <result property="smhinr" column="smhinr" jdbcType="VARCHAR"/>
        <result property="inr" column="inr" jdbcType="VARCHAR"/>
        <result property="objtyp" column="objtyp" jdbcType="VARCHAR"/>
        <result property="objinr" column="objinr" jdbcType="VARCHAR"/>
        <result property="trninr" column="trninr" jdbcType="VARCHAR"/>
        <result property="credat" column="credat" jdbcType="DATE"/>
        <result property="ver" column="ver" jdbcType="VARCHAR"/>
        <result property="ownref" column="ownref" jdbcType="VARCHAR"/>
        <result property="branchinr" column="branchinr" jdbcType="VARCHAR"/>
        <result property="bchkeyinr" column="bchkeyinr" jdbcType="VARCHAR"/>
        <result property="extkey53" column="extkey53" jdbcType="VARCHAR"/>
        <result property="acc56" column="acc56" jdbcType="VARCHAR"/>
        <result property="extkey56" column="extkey56" jdbcType="VARCHAR"/>
        <result property="extkey57" column="extkey57" jdbcType="VARCHAR"/>
        <result property="acc57" column="acc57" jdbcType="VARCHAR"/>
        <result property="extkey58" column="extkey58" jdbcType="VARCHAR"/>
        <result property="acc58" column="acc58" jdbcType="VARCHAR"/>
        <result property="extkey54" column="extkey54" jdbcType="VARCHAR"/>
        <result property="acc54" column="acc54" jdbcType="VARCHAR"/>
        <result property="extkey59" column="extkey59" jdbcType="VARCHAR"/>
        <result property="extkey52" column="extkey52" jdbcType="VARCHAR"/>
        <result property="acc52" column="acc52" jdbcType="VARCHAR"/>
        <result property="adrblk52" column="adrblk52" jdbcType="VARCHAR"/>
        <result property="adrblk53" column="adrblk53" jdbcType="VARCHAR"/>
        <result property="adrblk54" column="adrblk54" jdbcType="VARCHAR"/>
        <result property="adrblk56" column="adrblk56" jdbcType="VARCHAR"/>
        <result property="adrblk57" column="adrblk57" jdbcType="VARCHAR"/>
        <result property="adrblk58" column="adrblk58" jdbcType="VARCHAR"/>
        <result property="adrblk59" column="adrblk59" jdbcType="VARCHAR"/>
        <result property="ptyinr52" column="ptyinr52" jdbcType="VARCHAR"/>
        <result property="ptyinr53" column="ptyinr53" jdbcType="VARCHAR"/>
        <result property="ptyinr54" column="ptyinr54" jdbcType="VARCHAR"/>
        <result property="ptyinr56" column="ptyinr56" jdbcType="VARCHAR"/>
        <result property="ptyinr57" column="ptyinr57" jdbcType="VARCHAR"/>
        <result property="ptyinr58" column="ptyinr58" jdbcType="VARCHAR"/>
        <result property="ptyinr59" column="ptyinr59" jdbcType="VARCHAR"/>
        <result property="acc59" column="acc59" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        smhinr,inr,objtyp,objinr,trninr,credat,ver,ownref,branchinr,bchkeyinr,extkey53,acc56,extkey56,extkey57,acc57,extkey58,acc58,extkey54,acc54,extkey59,extkey52,acc52,adrblk52,adrblk53,adrblk54,adrblk56,adrblk57,adrblk58,adrblk59,ptyinr52,ptyinr53,ptyinr54,ptyinr56,ptyinr57,ptyinr58,ptyinr59,acc59
    </sql>

    <select id="selectByPrimaryKey" resultMap="BaseResultMap">
        select
            <include refid="Base_Column_List" />
        from smhout
        where inr = #{inr,jdbcType=VARCHAR}
    </select>

    <delete id="deleteByPrimaryKey">
        delete from smhout
        where inr = #{inr,jdbcType=VARCHAR}
    </delete>

    <insert id="insert">
        insert into smhout (<include refid="Base_Column_List" />)
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            #{smhinr,jdbcType=VARCHAR},
            #{inr,jdbcType=VARCHAR},
            #{objtyp,jdbcType=VARCHAR},
            #{objinr,jdbcType=VARCHAR},
            #{trninr,jdbcType=VARCHAR},
            #{credat,jdbcType=DATE},
            #{ver,jdbcType=VARCHAR},
            #{ownref,jdbcType=VARCHAR},
            #{branchinr,jdbcType=VARCHAR},
            #{bchkeyinr,jdbcType=VARCHAR},
            #{extkey53,jdbcType=VARCHAR},
            #{acc56,jdbcType=VARCHAR},
            #{extkey56,jdbcType=VARCHAR},
            #{extkey57,jdbcType=VARCHAR},
            #{acc57,jdbcType=VARCHAR},
            #{extkey58,jdbcType=VARCHAR},
            #{acc58,jdbcType=VARCHAR},
            #{extkey54,jdbcType=VARCHAR},
            #{acc54,jdbcType=VARCHAR},
            #{extkey59,jdbcType=VARCHAR},
            #{extkey52,jdbcType=VARCHAR},
            #{acc52,jdbcType=VARCHAR},
            #{adrblk52,jdbcType=VARCHAR},
            #{adrblk53,jdbcType=VARCHAR},
            #{adrblk54,jdbcType=VARCHAR},
            #{adrblk56,jdbcType=VARCHAR},
            #{adrblk57,jdbcType=VARCHAR},
            #{adrblk58,jdbcType=VARCHAR},
            #{adrblk59,jdbcType=VARCHAR},
            #{ptyinr52,jdbcType=VARCHAR},
            #{ptyinr53,jdbcType=VARCHAR},
            #{ptyinr54,jdbcType=VARCHAR},
            #{ptyinr56,jdbcType=VARCHAR},
            #{ptyinr57,jdbcType=VARCHAR},
            #{ptyinr58,jdbcType=VARCHAR},
            #{ptyinr59,jdbcType=VARCHAR},
            #{acc59,jdbcType=VARCHAR},
        </trim>
    </insert>

    <insert id="insertSelective">
        insert into smhout
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="smhinr != null">smhinr,</if>
            <if test="inr != null">inr,</if>
            <if test="objtyp != null">objtyp,</if>
            <if test="objinr != null">objinr,</if>
            <if test="trninr != null">trninr,</if>
            <if test="credat != null">credat,</if>
            <if test="ver != null">ver,</if>
            <if test="ownref != null">ownref,</if>
            <if test="branchinr != null">branchinr,</if>
            <if test="bchkeyinr != null">bchkeyinr,</if>
            <if test="extkey53 != null">extkey53,</if>
            <if test="acc56 != null">acc56,</if>
            <if test="extkey56 != null">extkey56,</if>
            <if test="extkey57 != null">extkey57,</if>
            <if test="acc57 != null">acc57,</if>
            <if test="extkey58 != null">extkey58,</if>
            <if test="acc58 != null">acc58,</if>
            <if test="extkey54 != null">extkey54,</if>
            <if test="acc54 != null">acc54,</if>
            <if test="extkey59 != null">extkey59,</if>
            <if test="extkey52 != null">extkey52,</if>
            <if test="acc52 != null">acc52,</if>
            <if test="adrblk52 != null">adrblk52,</if>
            <if test="adrblk53 != null">adrblk53,</if>
            <if test="adrblk54 != null">adrblk54,</if>
            <if test="adrblk56 != null">adrblk56,</if>
            <if test="adrblk57 != null">adrblk57,</if>
            <if test="adrblk58 != null">adrblk58,</if>
            <if test="adrblk59 != null">adrblk59,</if>
            <if test="ptyinr52 != null">ptyinr52,</if>
            <if test="ptyinr53 != null">ptyinr53,</if>
            <if test="ptyinr54 != null">ptyinr54,</if>
            <if test="ptyinr56 != null">ptyinr56,</if>
            <if test="ptyinr57 != null">ptyinr57,</if>
            <if test="ptyinr58 != null">ptyinr58,</if>
            <if test="ptyinr59 != null">ptyinr59,</if>
            <if test="acc59 != null">acc59,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="smhinr != null">#{smhinr,jdbcType=VARCHAR}, </if>
            <if test="inr != null">#{inr,jdbcType=VARCHAR}, </if>
            <if test="objtyp != null">#{objtyp,jdbcType=VARCHAR}, </if>
            <if test="objinr != null">#{objinr,jdbcType=VARCHAR}, </if>
            <if test="trninr != null">#{trninr,jdbcType=VARCHAR}, </if>
            <if test="credat != null">#{credat,jdbcType=DATE}, </if>
            <if test="ver != null">#{ver,jdbcType=VARCHAR}, </if>
            <if test="ownref != null">#{ownref,jdbcType=VARCHAR}, </if>
            <if test="branchinr != null">#{branchinr,jdbcType=VARCHAR}, </if>
            <if test="bchkeyinr != null">#{bchkeyinr,jdbcType=VARCHAR}, </if>
            <if test="extkey53 != null">#{extkey53,jdbcType=VARCHAR}, </if>
            <if test="acc56 != null">#{acc56,jdbcType=VARCHAR}, </if>
            <if test="extkey56 != null">#{extkey56,jdbcType=VARCHAR}, </if>
            <if test="extkey57 != null">#{extkey57,jdbcType=VARCHAR}, </if>
            <if test="acc57 != null">#{acc57,jdbcType=VARCHAR}, </if>
            <if test="extkey58 != null">#{extkey58,jdbcType=VARCHAR}, </if>
            <if test="acc58 != null">#{acc58,jdbcType=VARCHAR}, </if>
            <if test="extkey54 != null">#{extkey54,jdbcType=VARCHAR}, </if>
            <if test="acc54 != null">#{acc54,jdbcType=VARCHAR}, </if>
            <if test="extkey59 != null">#{extkey59,jdbcType=VARCHAR}, </if>
            <if test="extkey52 != null">#{extkey52,jdbcType=VARCHAR}, </if>
            <if test="acc52 != null">#{acc52,jdbcType=VARCHAR}, </if>
            <if test="adrblk52 != null">#{adrblk52,jdbcType=VARCHAR}, </if>
            <if test="adrblk53 != null">#{adrblk53,jdbcType=VARCHAR}, </if>
            <if test="adrblk54 != null">#{adrblk54,jdbcType=VARCHAR}, </if>
            <if test="adrblk56 != null">#{adrblk56,jdbcType=VARCHAR}, </if>
            <if test="adrblk57 != null">#{adrblk57,jdbcType=VARCHAR}, </if>
            <if test="adrblk58 != null">#{adrblk58,jdbcType=VARCHAR}, </if>
            <if test="adrblk59 != null">#{adrblk59,jdbcType=VARCHAR}, </if>
            <if test="ptyinr52 != null">#{ptyinr52,jdbcType=VARCHAR}, </if>
            <if test="ptyinr53 != null">#{ptyinr53,jdbcType=VARCHAR}, </if>
            <if test="ptyinr54 != null">#{ptyinr54,jdbcType=VARCHAR}, </if>
            <if test="ptyinr56 != null">#{ptyinr56,jdbcType=VARCHAR}, </if>
            <if test="ptyinr57 != null">#{ptyinr57,jdbcType=VARCHAR}, </if>
            <if test="ptyinr58 != null">#{ptyinr58,jdbcType=VARCHAR}, </if>
            <if test="ptyinr59 != null">#{ptyinr59,jdbcType=VARCHAR}, </if>
            <if test="acc59 != null">#{acc59,jdbcType=VARCHAR}, </if>
        </trim>
    </insert>

    <update id="updateByPrimaryKeySelective">
        update smhout
        <set>
            <if test="smhinr != null">smhinr = #{smhinr,jdbcType=VARCHAR},</if>
            <if test="objtyp != null">objtyp = #{objtyp,jdbcType=VARCHAR},</if>
            <if test="objinr != null">objinr = #{objinr,jdbcType=VARCHAR},</if>
            <if test="trninr != null">trninr = #{trninr,jdbcType=VARCHAR},</if>
            <if test="credat != null">credat = #{credat,jdbcType=DATE},</if>
            <if test="ver != null">ver = #{ver,jdbcType=VARCHAR},</if>
            <if test="ownref != null">ownref = #{ownref,jdbcType=VARCHAR},</if>
            <if test="branchinr != null">branchinr = #{branchinr,jdbcType=VARCHAR},</if>
            <if test="bchkeyinr != null">bchkeyinr = #{bchkeyinr,jdbcType=VARCHAR},</if>
            <if test="extkey53 != null">extkey53 = #{extkey53,jdbcType=VARCHAR},</if>
            <if test="acc56 != null">acc56 = #{acc56,jdbcType=VARCHAR},</if>
            <if test="extkey56 != null">extkey56 = #{extkey56,jdbcType=VARCHAR},</if>
            <if test="extkey57 != null">extkey57 = #{extkey57,jdbcType=VARCHAR},</if>
            <if test="acc57 != null">acc57 = #{acc57,jdbcType=VARCHAR},</if>
            <if test="extkey58 != null">extkey58 = #{extkey58,jdbcType=VARCHAR},</if>
            <if test="acc58 != null">acc58 = #{acc58,jdbcType=VARCHAR},</if>
            <if test="extkey54 != null">extkey54 = #{extkey54,jdbcType=VARCHAR},</if>
            <if test="acc54 != null">acc54 = #{acc54,jdbcType=VARCHAR},</if>
            <if test="extkey59 != null">extkey59 = #{extkey59,jdbcType=VARCHAR},</if>
            <if test="extkey52 != null">extkey52 = #{extkey52,jdbcType=VARCHAR},</if>
            <if test="acc52 != null">acc52 = #{acc52,jdbcType=VARCHAR},</if>
            <if test="adrblk52 != null">adrblk52 = #{adrblk52,jdbcType=VARCHAR},</if>
            <if test="adrblk53 != null">adrblk53 = #{adrblk53,jdbcType=VARCHAR},</if>
            <if test="adrblk54 != null">adrblk54 = #{adrblk54,jdbcType=VARCHAR},</if>
            <if test="adrblk56 != null">adrblk56 = #{adrblk56,jdbcType=VARCHAR},</if>
            <if test="adrblk57 != null">adrblk57 = #{adrblk57,jdbcType=VARCHAR},</if>
            <if test="adrblk58 != null">adrblk58 = #{adrblk58,jdbcType=VARCHAR},</if>
            <if test="adrblk59 != null">adrblk59 = #{adrblk59,jdbcType=VARCHAR},</if>
            <if test="ptyinr52 != null">ptyinr52 = #{ptyinr52,jdbcType=VARCHAR},</if>
            <if test="ptyinr53 != null">ptyinr53 = #{ptyinr53,jdbcType=VARCHAR},</if>
            <if test="ptyinr54 != null">ptyinr54 = #{ptyinr54,jdbcType=VARCHAR},</if>
            <if test="ptyinr56 != null">ptyinr56 = #{ptyinr56,jdbcType=VARCHAR},</if>
            <if test="ptyinr57 != null">ptyinr57 = #{ptyinr57,jdbcType=VARCHAR},</if>
            <if test="ptyinr58 != null">ptyinr58 = #{ptyinr58,jdbcType=VARCHAR},</if>
            <if test="ptyinr59 != null">ptyinr59 = #{ptyinr59,jdbcType=VARCHAR},</if>
            <if test="acc59 != null">acc59 = #{acc59,jdbcType=VARCHAR},</if>
        </set>
        where inr = #{inr,jdbcType=VARCHAR}
    </update>

    <update id="updateByPrimaryKey">
        update smhout
        <set>
            smhinr = #{smhinr,jdbcType=VARCHAR},
            objtyp = #{objtyp,jdbcType=VARCHAR},
            objinr = #{objinr,jdbcType=VARCHAR},
            trninr = #{trninr,jdbcType=VARCHAR},
            credat = #{credat,jdbcType=DATE},
            ver = #{ver,jdbcType=VARCHAR},
            ownref = #{ownref,jdbcType=VARCHAR},
            branchinr = #{branchinr,jdbcType=VARCHAR},
            bchkeyinr = #{bchkeyinr,jdbcType=VARCHAR},
            extkey53 = #{extkey53,jdbcType=VARCHAR},
            acc56 = #{acc56,jdbcType=VARCHAR},
            extkey56 = #{extkey56,jdbcType=VARCHAR},
            extkey57 = #{extkey57,jdbcType=VARCHAR},
            acc57 = #{acc57,jdbcType=VARCHAR},
            extkey58 = #{extkey58,jdbcType=VARCHAR},
            acc58 = #{acc58,jdbcType=VARCHAR},
            extkey54 = #{extkey54,jdbcType=VARCHAR},
            acc54 = #{acc54,jdbcType=VARCHAR},
            extkey59 = #{extkey59,jdbcType=VARCHAR},
            extkey52 = #{extkey52,jdbcType=VARCHAR},
            acc52 = #{acc52,jdbcType=VARCHAR},
            adrblk52 = #{adrblk52,jdbcType=VARCHAR},
            adrblk53 = #{adrblk53,jdbcType=VARCHAR},
            adrblk54 = #{adrblk54,jdbcType=VARCHAR},
            adrblk56 = #{adrblk56,jdbcType=VARCHAR},
            adrblk57 = #{adrblk57,jdbcType=VARCHAR},
            adrblk58 = #{adrblk58,jdbcType=VARCHAR},
            adrblk59 = #{adrblk59,jdbcType=VARCHAR},
            ptyinr52 = #{ptyinr52,jdbcType=VARCHAR},
            ptyinr53 = #{ptyinr53,jdbcType=VARCHAR},
            ptyinr54 = #{ptyinr54,jdbcType=VARCHAR},
            ptyinr56 = #{ptyinr56,jdbcType=VARCHAR},
            ptyinr57 = #{ptyinr57,jdbcType=VARCHAR},
            ptyinr58 = #{ptyinr58,jdbcType=VARCHAR},
            ptyinr59 = #{ptyinr59,jdbcType=VARCHAR},
            acc59 = #{acc59,jdbcType=VARCHAR},
        </set>
        where inr = #{inr,jdbcType=VARCHAR}
    </update>

    <delete id="deleteByIds">
        delete from act where inr in
        <foreach item="item" index="index" collection="collection" open="(" separator="," close=")">
            #{item}
        </foreach>
    </delete>

    <update id="dyncUpdate">
        update smhout
        <set>
            <if test="module.smhinr != null">smhinr = #{module.smhinr,jdbcType=VARCHAR},</if>
            <if test="module.objtyp != null">objtyp = #{module.objtyp,jdbcType=VARCHAR},</if>
            <if test="module.objinr != null">objinr = #{module.objinr,jdbcType=VARCHAR},</if>
            <if test="module.trninr != null">trninr = #{module.trninr,jdbcType=VARCHAR},</if>
            <if test="module.credat != null">credat = #{module.credat,jdbcType=DATE},</if>
            <if test="module.ver != null">ver = #{module.ver,jdbcType=VARCHAR},</if>
            <if test="module.ownref != null">ownref = #{module.ownref,jdbcType=VARCHAR},</if>
            <if test="module.branchinr != null">branchinr = #{module.branchinr,jdbcType=VARCHAR},</if>
            <if test="module.bchkeyinr != null">bchkeyinr = #{module.bchkeyinr,jdbcType=VARCHAR},</if>
            <if test="module.extkey53 != null">extkey53 = #{module.extkey53,jdbcType=VARCHAR},</if>
            <if test="module.acc56 != null">acc56 = #{module.acc56,jdbcType=VARCHAR},</if>
            <if test="module.extkey56 != null">extkey56 = #{module.extkey56,jdbcType=VARCHAR},</if>
            <if test="module.extkey57 != null">extkey57 = #{module.extkey57,jdbcType=VARCHAR},</if>
            <if test="module.acc57 != null">acc57 = #{module.acc57,jdbcType=VARCHAR},</if>
            <if test="module.extkey58 != null">extkey58 = #{module.extkey58,jdbcType=VARCHAR},</if>
            <if test="module.acc58 != null">acc58 = #{module.acc58,jdbcType=VARCHAR},</if>
            <if test="module.extkey54 != null">extkey54 = #{module.extkey54,jdbcType=VARCHAR},</if>
            <if test="module.acc54 != null">acc54 = #{module.acc54,jdbcType=VARCHAR},</if>
            <if test="module.extkey59 != null">extkey59 = #{module.extkey59,jdbcType=VARCHAR},</if>
            <if test="module.extkey52 != null">extkey52 = #{module.extkey52,jdbcType=VARCHAR},</if>
            <if test="module.acc52 != null">acc52 = #{module.acc52,jdbcType=VARCHAR},</if>
            <if test="module.adrblk52 != null">adrblk52 = #{module.adrblk52,jdbcType=VARCHAR},</if>
            <if test="module.adrblk53 != null">adrblk53 = #{module.adrblk53,jdbcType=VARCHAR},</if>
            <if test="module.adrblk54 != null">adrblk54 = #{module.adrblk54,jdbcType=VARCHAR},</if>
            <if test="module.adrblk56 != null">adrblk56 = #{module.adrblk56,jdbcType=VARCHAR},</if>
            <if test="module.adrblk57 != null">adrblk57 = #{module.adrblk57,jdbcType=VARCHAR},</if>
            <if test="module.adrblk58 != null">adrblk58 = #{module.adrblk58,jdbcType=VARCHAR},</if>
            <if test="module.adrblk59 != null">adrblk59 = #{module.adrblk59,jdbcType=VARCHAR},</if>
            <if test="module.ptyinr52 != null">ptyinr52 = #{module.ptyinr52,jdbcType=VARCHAR},</if>
            <if test="module.ptyinr53 != null">ptyinr53 = #{module.ptyinr53,jdbcType=VARCHAR},</if>
            <if test="module.ptyinr54 != null">ptyinr54 = #{module.ptyinr54,jdbcType=VARCHAR},</if>
            <if test="module.ptyinr56 != null">ptyinr56 = #{module.ptyinr56,jdbcType=VARCHAR},</if>
            <if test="module.ptyinr57 != null">ptyinr57 = #{module.ptyinr57,jdbcType=VARCHAR},</if>
            <if test="module.ptyinr58 != null">ptyinr58 = #{module.ptyinr58,jdbcType=VARCHAR},</if>
            <if test="module.ptyinr59 != null">ptyinr59 = #{module.ptyinr59,jdbcType=VARCHAR},</if>
            <if test="module.acc59 != null">acc59 = #{module.acc59,jdbcType=VARCHAR},</if>
        </set>
        ${conditions}
    </update>

    <delete id="dyncDelete">
        ${sql}
    </delete>

    <select id="dyncRead" resultMap="BaseResultMap">
        ${sql}
    </select>

</mapper>