<?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.CndMapper">

    <resultMap id="BaseResultMap" type="com.brilliance.isc.bo.Cnd">
        <result property="inr" column="inr" jdbcType="VARCHAR"/>
        <result property="objinr" column="objinr" jdbcType="VARCHAR"/>
        <result property="objtyp" column="objtyp" jdbcType="VARCHAR"/>
        <result property="oribusnum" column="oribusnum" jdbcType="VARCHAR"/>
        <result property="amt" column="amt" jdbcType="DECIMAL"/>
        <result property="bustyp" column="bustyp" jdbcType="VARCHAR"/>
        <result property="urgtyp" column="urgtyp" jdbcType="VARCHAR"/>
        <result property="exctyp" column="exctyp" jdbcType="VARCHAR"/>
        <result property="recbchkey" column="recbchkey" jdbcType="VARCHAR"/>
        <result property="recbchnam" column="recbchnam" jdbcType="VARCHAR"/>
        <result property="pyeact" column="pyeact" jdbcType="VARCHAR"/>
        <result property="pyenam" column="pyenam" jdbcType="VARCHAR"/>
        <result property="pyeadr" column="pyeadr" jdbcType="VARCHAR"/>
        <result property="pyebchkey" column="pyebchkey" jdbcType="VARCHAR"/>
        <result property="pyebchnam" column="pyebchnam" jdbcType="VARCHAR"/>
        <result property="orcact" column="orcact" jdbcType="VARCHAR"/>
        <result property="orcnam" column="orcnam" jdbcType="VARCHAR"/>
        <result property="orcadr" column="orcadr" jdbcType="VARCHAR"/>
        <result property="commet" column="commet" jdbcType="VARCHAR"/>
        <result property="cur" column="cur" jdbcType="VARCHAR"/>
        <result property="orcbchkey" column="orcbchkey" jdbcType="VARCHAR"/>
        <result property="dlgdat" column="dlgdat" jdbcType="DATE"/>
        <result property="staliqbch" column="staliqbch" jdbcType="VARCHAR"/>
        <result property="recliqbch" column="recliqbch" jdbcType="VARCHAR"/>
        <result property="satbch" column="satbch" jdbcType="VARCHAR"/>
        <result property="paynum" column="paynum" jdbcType="VARCHAR"/>
        <result property="sencod" column="sencod" jdbcType="VARCHAR"/>
        <result property="reccod" column="reccod" jdbcType="VARCHAR"/>
        <result property="sptinr" column="sptinr" jdbcType="VARCHAR"/>
        <result property="busmod" column="busmod" jdbcType="VARCHAR"/>
        <result property="agency" column="agency" jdbcType="VARCHAR"/>
        <result property="agname" column="agname" jdbcType="VARCHAR"/>
        <result property="hxywbh" column="hxywbh" jdbcType="VARCHAR"/>
        <result property="fbmosi" column="fbmosi" jdbcType="VARCHAR"/>
        <result property="ownref" column="ownref" jdbcType="VARCHAR"/>
        <result property="remark" column="remark" jdbcType="VARCHAR"/>
        <result property="stasehbch" column="stasehbch" jdbcType="VARCHAR"/>
        <result property="recsehbch" column="recsehbch" jdbcType="VARCHAR"/>
        <result property="staonebch" column="staonebch" jdbcType="VARCHAR"/>
        <result property="reconebch" column="reconebch" jdbcType="VARCHAR"/>
        <result property="stasehbchnam" column="stasehbchnam" jdbcType="VARCHAR"/>
        <result property="recsehbchnam" column="recsehbchnam" jdbcType="VARCHAR"/>
        <result property="staonebchnam" column="staonebchnam" jdbcType="VARCHAR"/>
        <result property="reconebchnam" column="reconebchnam" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        inr,objinr,objtyp,oribusnum,amt,bustyp,urgtyp,exctyp,recbchkey,recbchnam,pyeact,pyenam,pyeadr,pyebchkey,pyebchnam,orcact,orcnam,orcadr,commet,cur,orcbchkey,dlgdat,staliqbch,recliqbch,satbch,paynum,sencod,reccod,sptinr,busmod,agency,agname,hxywbh,fbmosi,ownref,remark,stasehbch,recsehbch,staonebch,reconebch,stasehbchnam,recsehbchnam,staonebchnam,reconebchnam
    </sql>

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

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

    <insert id="insert">
        insert into cnd (<include refid="Base_Column_List" />)
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            #{inr,jdbcType=VARCHAR},
            #{objinr,jdbcType=VARCHAR},
            #{objtyp,jdbcType=VARCHAR},
            #{oribusnum,jdbcType=VARCHAR},
            #{amt,jdbcType=DECIMAL},
            #{bustyp,jdbcType=VARCHAR},
            #{urgtyp,jdbcType=VARCHAR},
            #{exctyp,jdbcType=VARCHAR},
            #{recbchkey,jdbcType=VARCHAR},
            #{recbchnam,jdbcType=VARCHAR},
            #{pyeact,jdbcType=VARCHAR},
            #{pyenam,jdbcType=VARCHAR},
            #{pyeadr,jdbcType=VARCHAR},
            #{pyebchkey,jdbcType=VARCHAR},
            #{pyebchnam,jdbcType=VARCHAR},
            #{orcact,jdbcType=VARCHAR},
            #{orcnam,jdbcType=VARCHAR},
            #{orcadr,jdbcType=VARCHAR},
            #{commet,jdbcType=VARCHAR},
            #{cur,jdbcType=VARCHAR},
            #{orcbchkey,jdbcType=VARCHAR},
            #{dlgdat,jdbcType=DATE},
            #{staliqbch,jdbcType=VARCHAR},
            #{recliqbch,jdbcType=VARCHAR},
            #{satbch,jdbcType=VARCHAR},
            #{paynum,jdbcType=VARCHAR},
            #{sencod,jdbcType=VARCHAR},
            #{reccod,jdbcType=VARCHAR},
            #{sptinr,jdbcType=VARCHAR},
            #{busmod,jdbcType=VARCHAR},
            #{agency,jdbcType=VARCHAR},
            #{agname,jdbcType=VARCHAR},
            #{hxywbh,jdbcType=VARCHAR},
            #{fbmosi,jdbcType=VARCHAR},
            #{ownref,jdbcType=VARCHAR},
            #{remark,jdbcType=VARCHAR},
            #{stasehbch,jdbcType=VARCHAR},
            #{recsehbch,jdbcType=VARCHAR},
            #{staonebch,jdbcType=VARCHAR},
            #{reconebch,jdbcType=VARCHAR},
            #{stasehbchnam,jdbcType=VARCHAR},
            #{recsehbchnam,jdbcType=VARCHAR},
            #{staonebchnam,jdbcType=VARCHAR},
            #{reconebchnam,jdbcType=VARCHAR},
        </trim>
    </insert>

    <insert id="insertSelective">
        insert into cnd
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="inr != null">inr,</if>
            <if test="objinr != null">objinr,</if>
            <if test="objtyp != null">objtyp,</if>
            <if test="oribusnum != null">oribusnum,</if>
            <if test="amt != null">amt,</if>
            <if test="bustyp != null">bustyp,</if>
            <if test="urgtyp != null">urgtyp,</if>
            <if test="exctyp != null">exctyp,</if>
            <if test="recbchkey != null">recbchkey,</if>
            <if test="recbchnam != null">recbchnam,</if>
            <if test="pyeact != null">pyeact,</if>
            <if test="pyenam != null">pyenam,</if>
            <if test="pyeadr != null">pyeadr,</if>
            <if test="pyebchkey != null">pyebchkey,</if>
            <if test="pyebchnam != null">pyebchnam,</if>
            <if test="orcact != null">orcact,</if>
            <if test="orcnam != null">orcnam,</if>
            <if test="orcadr != null">orcadr,</if>
            <if test="commet != null">commet,</if>
            <if test="cur != null">cur,</if>
            <if test="orcbchkey != null">orcbchkey,</if>
            <if test="dlgdat != null">dlgdat,</if>
            <if test="staliqbch != null">staliqbch,</if>
            <if test="recliqbch != null">recliqbch,</if>
            <if test="satbch != null">satbch,</if>
            <if test="paynum != null">paynum,</if>
            <if test="sencod != null">sencod,</if>
            <if test="reccod != null">reccod,</if>
            <if test="sptinr != null">sptinr,</if>
            <if test="busmod != null">busmod,</if>
            <if test="agency != null">agency,</if>
            <if test="agname != null">agname,</if>
            <if test="hxywbh != null">hxywbh,</if>
            <if test="fbmosi != null">fbmosi,</if>
            <if test="ownref != null">ownref,</if>
            <if test="remark != null">remark,</if>
            <if test="stasehbch != null">stasehbch,</if>
            <if test="recsehbch != null">recsehbch,</if>
            <if test="staonebch != null">staonebch,</if>
            <if test="reconebch != null">reconebch,</if>
            <if test="stasehbchnam != null">stasehbchnam,</if>
            <if test="recsehbchnam != null">recsehbchnam,</if>
            <if test="staonebchnam != null">staonebchnam,</if>
            <if test="reconebchnam != null">reconebchnam,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="inr != null">#{inr,jdbcType=VARCHAR}, </if>
            <if test="objinr != null">#{objinr,jdbcType=VARCHAR}, </if>
            <if test="objtyp != null">#{objtyp,jdbcType=VARCHAR}, </if>
            <if test="oribusnum != null">#{oribusnum,jdbcType=VARCHAR}, </if>
            <if test="amt != null">#{amt,jdbcType=DECIMAL}, </if>
            <if test="bustyp != null">#{bustyp,jdbcType=VARCHAR}, </if>
            <if test="urgtyp != null">#{urgtyp,jdbcType=VARCHAR}, </if>
            <if test="exctyp != null">#{exctyp,jdbcType=VARCHAR}, </if>
            <if test="recbchkey != null">#{recbchkey,jdbcType=VARCHAR}, </if>
            <if test="recbchnam != null">#{recbchnam,jdbcType=VARCHAR}, </if>
            <if test="pyeact != null">#{pyeact,jdbcType=VARCHAR}, </if>
            <if test="pyenam != null">#{pyenam,jdbcType=VARCHAR}, </if>
            <if test="pyeadr != null">#{pyeadr,jdbcType=VARCHAR}, </if>
            <if test="pyebchkey != null">#{pyebchkey,jdbcType=VARCHAR}, </if>
            <if test="pyebchnam != null">#{pyebchnam,jdbcType=VARCHAR}, </if>
            <if test="orcact != null">#{orcact,jdbcType=VARCHAR}, </if>
            <if test="orcnam != null">#{orcnam,jdbcType=VARCHAR}, </if>
            <if test="orcadr != null">#{orcadr,jdbcType=VARCHAR}, </if>
            <if test="commet != null">#{commet,jdbcType=VARCHAR}, </if>
            <if test="cur != null">#{cur,jdbcType=VARCHAR}, </if>
            <if test="orcbchkey != null">#{orcbchkey,jdbcType=VARCHAR}, </if>
            <if test="dlgdat != null">#{dlgdat,jdbcType=DATE}, </if>
            <if test="staliqbch != null">#{staliqbch,jdbcType=VARCHAR}, </if>
            <if test="recliqbch != null">#{recliqbch,jdbcType=VARCHAR}, </if>
            <if test="satbch != null">#{satbch,jdbcType=VARCHAR}, </if>
            <if test="paynum != null">#{paynum,jdbcType=VARCHAR}, </if>
            <if test="sencod != null">#{sencod,jdbcType=VARCHAR}, </if>
            <if test="reccod != null">#{reccod,jdbcType=VARCHAR}, </if>
            <if test="sptinr != null">#{sptinr,jdbcType=VARCHAR}, </if>
            <if test="busmod != null">#{busmod,jdbcType=VARCHAR}, </if>
            <if test="agency != null">#{agency,jdbcType=VARCHAR}, </if>
            <if test="agname != null">#{agname,jdbcType=VARCHAR}, </if>
            <if test="hxywbh != null">#{hxywbh,jdbcType=VARCHAR}, </if>
            <if test="fbmosi != null">#{fbmosi,jdbcType=VARCHAR}, </if>
            <if test="ownref != null">#{ownref,jdbcType=VARCHAR}, </if>
            <if test="remark != null">#{remark,jdbcType=VARCHAR}, </if>
            <if test="stasehbch != null">#{stasehbch,jdbcType=VARCHAR}, </if>
            <if test="recsehbch != null">#{recsehbch,jdbcType=VARCHAR}, </if>
            <if test="staonebch != null">#{staonebch,jdbcType=VARCHAR}, </if>
            <if test="reconebch != null">#{reconebch,jdbcType=VARCHAR}, </if>
            <if test="stasehbchnam != null">#{stasehbchnam,jdbcType=VARCHAR}, </if>
            <if test="recsehbchnam != null">#{recsehbchnam,jdbcType=VARCHAR}, </if>
            <if test="staonebchnam != null">#{staonebchnam,jdbcType=VARCHAR}, </if>
            <if test="reconebchnam != null">#{reconebchnam,jdbcType=VARCHAR}, </if>
        </trim>
    </insert>

    <update id="updateByPrimaryKeySelective">
        update cnd
        <set>
            <if test="objinr != null">objinr = #{objinr,jdbcType=VARCHAR},</if>
            <if test="objtyp != null">objtyp = #{objtyp,jdbcType=VARCHAR},</if>
            <if test="oribusnum != null">oribusnum = #{oribusnum,jdbcType=VARCHAR},</if>
            <if test="amt != null">amt = #{amt,jdbcType=DECIMAL},</if>
            <if test="bustyp != null">bustyp = #{bustyp,jdbcType=VARCHAR},</if>
            <if test="urgtyp != null">urgtyp = #{urgtyp,jdbcType=VARCHAR},</if>
            <if test="exctyp != null">exctyp = #{exctyp,jdbcType=VARCHAR},</if>
            <if test="recbchkey != null">recbchkey = #{recbchkey,jdbcType=VARCHAR},</if>
            <if test="recbchnam != null">recbchnam = #{recbchnam,jdbcType=VARCHAR},</if>
            <if test="pyeact != null">pyeact = #{pyeact,jdbcType=VARCHAR},</if>
            <if test="pyenam != null">pyenam = #{pyenam,jdbcType=VARCHAR},</if>
            <if test="pyeadr != null">pyeadr = #{pyeadr,jdbcType=VARCHAR},</if>
            <if test="pyebchkey != null">pyebchkey = #{pyebchkey,jdbcType=VARCHAR},</if>
            <if test="pyebchnam != null">pyebchnam = #{pyebchnam,jdbcType=VARCHAR},</if>
            <if test="orcact != null">orcact = #{orcact,jdbcType=VARCHAR},</if>
            <if test="orcnam != null">orcnam = #{orcnam,jdbcType=VARCHAR},</if>
            <if test="orcadr != null">orcadr = #{orcadr,jdbcType=VARCHAR},</if>
            <if test="commet != null">commet = #{commet,jdbcType=VARCHAR},</if>
            <if test="cur != null">cur = #{cur,jdbcType=VARCHAR},</if>
            <if test="orcbchkey != null">orcbchkey = #{orcbchkey,jdbcType=VARCHAR},</if>
            <if test="dlgdat != null">dlgdat = #{dlgdat,jdbcType=DATE},</if>
            <if test="staliqbch != null">staliqbch = #{staliqbch,jdbcType=VARCHAR},</if>
            <if test="recliqbch != null">recliqbch = #{recliqbch,jdbcType=VARCHAR},</if>
            <if test="satbch != null">satbch = #{satbch,jdbcType=VARCHAR},</if>
            <if test="paynum != null">paynum = #{paynum,jdbcType=VARCHAR},</if>
            <if test="sencod != null">sencod = #{sencod,jdbcType=VARCHAR},</if>
            <if test="reccod != null">reccod = #{reccod,jdbcType=VARCHAR},</if>
            <if test="sptinr != null">sptinr = #{sptinr,jdbcType=VARCHAR},</if>
            <if test="busmod != null">busmod = #{busmod,jdbcType=VARCHAR},</if>
            <if test="agency != null">agency = #{agency,jdbcType=VARCHAR},</if>
            <if test="agname != null">agname = #{agname,jdbcType=VARCHAR},</if>
            <if test="hxywbh != null">hxywbh = #{hxywbh,jdbcType=VARCHAR},</if>
            <if test="fbmosi != null">fbmosi = #{fbmosi,jdbcType=VARCHAR},</if>
            <if test="ownref != null">ownref = #{ownref,jdbcType=VARCHAR},</if>
            <if test="remark != null">remark = #{remark,jdbcType=VARCHAR},</if>
            <if test="stasehbch != null">stasehbch = #{stasehbch,jdbcType=VARCHAR},</if>
            <if test="recsehbch != null">recsehbch = #{recsehbch,jdbcType=VARCHAR},</if>
            <if test="staonebch != null">staonebch = #{staonebch,jdbcType=VARCHAR},</if>
            <if test="reconebch != null">reconebch = #{reconebch,jdbcType=VARCHAR},</if>
            <if test="stasehbchnam != null">stasehbchnam = #{stasehbchnam,jdbcType=VARCHAR},</if>
            <if test="recsehbchnam != null">recsehbchnam = #{recsehbchnam,jdbcType=VARCHAR},</if>
            <if test="staonebchnam != null">staonebchnam = #{staonebchnam,jdbcType=VARCHAR},</if>
            <if test="reconebchnam != null">reconebchnam = #{reconebchnam,jdbcType=VARCHAR},</if>
        </set>
        where inr = #{inr,jdbcType=VARCHAR}
    </update>

    <update id="updateByPrimaryKey">
        update cnd
        <set>
            objinr = #{objinr,jdbcType=VARCHAR},
            objtyp = #{objtyp,jdbcType=VARCHAR},
            oribusnum = #{oribusnum,jdbcType=VARCHAR},
            amt = #{amt,jdbcType=DECIMAL},
            bustyp = #{bustyp,jdbcType=VARCHAR},
            urgtyp = #{urgtyp,jdbcType=VARCHAR},
            exctyp = #{exctyp,jdbcType=VARCHAR},
            recbchkey = #{recbchkey,jdbcType=VARCHAR},
            recbchnam = #{recbchnam,jdbcType=VARCHAR},
            pyeact = #{pyeact,jdbcType=VARCHAR},
            pyenam = #{pyenam,jdbcType=VARCHAR},
            pyeadr = #{pyeadr,jdbcType=VARCHAR},
            pyebchkey = #{pyebchkey,jdbcType=VARCHAR},
            pyebchnam = #{pyebchnam,jdbcType=VARCHAR},
            orcact = #{orcact,jdbcType=VARCHAR},
            orcnam = #{orcnam,jdbcType=VARCHAR},
            orcadr = #{orcadr,jdbcType=VARCHAR},
            commet = #{commet,jdbcType=VARCHAR},
            cur = #{cur,jdbcType=VARCHAR},
            orcbchkey = #{orcbchkey,jdbcType=VARCHAR},
            dlgdat = #{dlgdat,jdbcType=DATE},
            staliqbch = #{staliqbch,jdbcType=VARCHAR},
            recliqbch = #{recliqbch,jdbcType=VARCHAR},
            satbch = #{satbch,jdbcType=VARCHAR},
            paynum = #{paynum,jdbcType=VARCHAR},
            sencod = #{sencod,jdbcType=VARCHAR},
            reccod = #{reccod,jdbcType=VARCHAR},
            sptinr = #{sptinr,jdbcType=VARCHAR},
            busmod = #{busmod,jdbcType=VARCHAR},
            agency = #{agency,jdbcType=VARCHAR},
            agname = #{agname,jdbcType=VARCHAR},
            hxywbh = #{hxywbh,jdbcType=VARCHAR},
            fbmosi = #{fbmosi,jdbcType=VARCHAR},
            ownref = #{ownref,jdbcType=VARCHAR},
            remark = #{remark,jdbcType=VARCHAR},
            stasehbch = #{stasehbch,jdbcType=VARCHAR},
            recsehbch = #{recsehbch,jdbcType=VARCHAR},
            staonebch = #{staonebch,jdbcType=VARCHAR},
            reconebch = #{reconebch,jdbcType=VARCHAR},
            stasehbchnam = #{stasehbchnam,jdbcType=VARCHAR},
            recsehbchnam = #{recsehbchnam,jdbcType=VARCHAR},
            staonebchnam = #{staonebchnam,jdbcType=VARCHAR},
            reconebchnam = #{reconebchnam,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 cnd
        <set>
            <if test="module.objinr != null">objinr = #{module.objinr,jdbcType=VARCHAR},</if>
            <if test="module.objtyp != null">objtyp = #{module.objtyp,jdbcType=VARCHAR},</if>
            <if test="module.oribusnum != null">oribusnum = #{module.oribusnum,jdbcType=VARCHAR},</if>
            <if test="module.amt != null">amt = #{module.amt,jdbcType=DECIMAL},</if>
            <if test="module.bustyp != null">bustyp = #{module.bustyp,jdbcType=VARCHAR},</if>
            <if test="module.urgtyp != null">urgtyp = #{module.urgtyp,jdbcType=VARCHAR},</if>
            <if test="module.exctyp != null">exctyp = #{module.exctyp,jdbcType=VARCHAR},</if>
            <if test="module.recbchkey != null">recbchkey = #{module.recbchkey,jdbcType=VARCHAR},</if>
            <if test="module.recbchnam != null">recbchnam = #{module.recbchnam,jdbcType=VARCHAR},</if>
            <if test="module.pyeact != null">pyeact = #{module.pyeact,jdbcType=VARCHAR},</if>
            <if test="module.pyenam != null">pyenam = #{module.pyenam,jdbcType=VARCHAR},</if>
            <if test="module.pyeadr != null">pyeadr = #{module.pyeadr,jdbcType=VARCHAR},</if>
            <if test="module.pyebchkey != null">pyebchkey = #{module.pyebchkey,jdbcType=VARCHAR},</if>
            <if test="module.pyebchnam != null">pyebchnam = #{module.pyebchnam,jdbcType=VARCHAR},</if>
            <if test="module.orcact != null">orcact = #{module.orcact,jdbcType=VARCHAR},</if>
            <if test="module.orcnam != null">orcnam = #{module.orcnam,jdbcType=VARCHAR},</if>
            <if test="module.orcadr != null">orcadr = #{module.orcadr,jdbcType=VARCHAR},</if>
            <if test="module.commet != null">commet = #{module.commet,jdbcType=VARCHAR},</if>
            <if test="module.cur != null">cur = #{module.cur,jdbcType=VARCHAR},</if>
            <if test="module.orcbchkey != null">orcbchkey = #{module.orcbchkey,jdbcType=VARCHAR},</if>
            <if test="module.dlgdat != null">dlgdat = #{module.dlgdat,jdbcType=DATE},</if>
            <if test="module.staliqbch != null">staliqbch = #{module.staliqbch,jdbcType=VARCHAR},</if>
            <if test="module.recliqbch != null">recliqbch = #{module.recliqbch,jdbcType=VARCHAR},</if>
            <if test="module.satbch != null">satbch = #{module.satbch,jdbcType=VARCHAR},</if>
            <if test="module.paynum != null">paynum = #{module.paynum,jdbcType=VARCHAR},</if>
            <if test="module.sencod != null">sencod = #{module.sencod,jdbcType=VARCHAR},</if>
            <if test="module.reccod != null">reccod = #{module.reccod,jdbcType=VARCHAR},</if>
            <if test="module.sptinr != null">sptinr = #{module.sptinr,jdbcType=VARCHAR},</if>
            <if test="module.busmod != null">busmod = #{module.busmod,jdbcType=VARCHAR},</if>
            <if test="module.agency != null">agency = #{module.agency,jdbcType=VARCHAR},</if>
            <if test="module.agname != null">agname = #{module.agname,jdbcType=VARCHAR},</if>
            <if test="module.hxywbh != null">hxywbh = #{module.hxywbh,jdbcType=VARCHAR},</if>
            <if test="module.fbmosi != null">fbmosi = #{module.fbmosi,jdbcType=VARCHAR},</if>
            <if test="module.ownref != null">ownref = #{module.ownref,jdbcType=VARCHAR},</if>
            <if test="module.remark != null">remark = #{module.remark,jdbcType=VARCHAR},</if>
            <if test="module.stasehbch != null">stasehbch = #{module.stasehbch,jdbcType=VARCHAR},</if>
            <if test="module.recsehbch != null">recsehbch = #{module.recsehbch,jdbcType=VARCHAR},</if>
            <if test="module.staonebch != null">staonebch = #{module.staonebch,jdbcType=VARCHAR},</if>
            <if test="module.reconebch != null">reconebch = #{module.reconebch,jdbcType=VARCHAR},</if>
            <if test="module.stasehbchnam != null">stasehbchnam = #{module.stasehbchnam,jdbcType=VARCHAR},</if>
            <if test="module.recsehbchnam != null">recsehbchnam = #{module.recsehbchnam,jdbcType=VARCHAR},</if>
            <if test="module.staonebchnam != null">staonebchnam = #{module.staonebchnam,jdbcType=VARCHAR},</if>
            <if test="module.reconebchnam != null">reconebchnam = #{module.reconebchnam,jdbcType=VARCHAR},</if>
        </set>
        ${conditions}
    </update>

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

    <select id="dyncRead" resultMap="BaseResultMap">
        ${sql}
    </select>
    <delete id="deleteByObjtypAndObjinr">
        delete
        from cnd
        where objtyp = #{objtyp,jdbcType=VARCHAR}
          AND objinr = #{objinr,jdbcType=VARCHAR}
    </delete>
    <select id="selectByObjtypAndObjinr" resultMap="BaseResultMap">
        select
        <include refid="Base_Column_List"/>
        from cnd
        where
        objtyp = #{objtyp,jdbcType=VARCHAR}
        AND objinr = #{objinr,jdbcType=VARCHAR}
    </select>

    <select id="selectBySptinr" resultMap="BaseResultMap">
        select
        <include refid="Base_Column_List"/>
        from cnd
        where
        sptinr = #{sptinr,jdbcType=VARCHAR}
    </select>

</mapper>