Commit 5a20f98c by niewei

smhmapper.xml增加sql语句xxxcnt字段

parent 92168b11
......@@ -45,6 +45,7 @@
<result property="chlflg" column="chlflg" jdbcType="VARCHAR"/>
<result property="orimsgtyp" column="orimsgtyp" jdbcType="VARCHAR"/>
<result property="mpiinr" column="mpiinr" jdbcType="VARCHAR"/>
<result property="xxxcnt" column="xxxcnt" jdbcType="INTEGER"/>
</resultMap>
......@@ -60,7 +61,7 @@
<!-- </resultMap>-->
<sql id="Base_Column_List">
inr,objtyp,objinr,trntyp,trninr,trnsub,extkey,nam,creusr,crefrm,credattim,dir,docpth,docfil,docfxt,docmac,msgpos,msglen,grpinr,grpseq,cortyp,cortypsub,apf,sndkey,apfcnt,ptainr,oriflg,orismhinr,partflg,msgtyp,relcur,relamt,stp,etyextkey,sysno,staflg,clndat,f20,chlflg,orimsgtyp,mpiinr
inr,objtyp,objinr,trntyp,trninr,trnsub,extkey,nam,creusr,crefrm,credattim,dir,docpth,docfil,docfxt,docmac,msgpos,msglen,grpinr,grpseq,cortyp,cortypsub,apf,sndkey,apfcnt,ptainr,oriflg,orismhinr,partflg,msgtyp,relcur,relamt,stp,etyextkey,sysno,staflg,clndat,f20,chlflg,orimsgtyp,mpiinr,xxxcnt
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap">
......@@ -120,6 +121,7 @@
#{chlflg,jdbcType=VARCHAR},
#{orimsgtyp,jdbcType=VARCHAR},
#{mpiinr,jdbcType=VARCHAR},
#{xxxcnt,jdbcType=INTEGER},
</trim>
</insert>
......@@ -167,6 +169,7 @@
<if test="chlflg != null">chlflg,</if>
<if test="orimsgtyp != null">orimsgtyp,</if>
<if test="mpiinr != null">mpiinr,</if>
<if test="xxxcnt != null">xxxcnt,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="inr != null">#{inr,jdbcType=VARCHAR},</if>
......@@ -210,6 +213,7 @@
<if test="chlflg != null">#{chlflg,jdbcType=VARCHAR},</if>
<if test="orimsgtyp != null">#{orimsgtyp,jdbcType=VARCHAR},</if>
<if test="mpiinr != null">#{mpiinr,jdbcType=VARCHAR},</if>
<if test="xxxcnt != null">#{xxxcnt,jdbcType=INTEGER},</if>
</trim>
</insert>
......@@ -256,6 +260,7 @@
<if test="chlflg != null">chlflg = #{chlflg,jdbcType=VARCHAR},</if>
<if test="orimsgtyp != null">orimsgtyp = #{orimsgtyp,jdbcType=VARCHAR},</if>
<if test="mpiinr != null">mpiinr = #{mpiinr,jdbcType=VARCHAR},</if>
<if test="xxxcnt != null">xxxcnt = #{xxxcnt,jdbcType=INTEGER},</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
......@@ -303,6 +308,7 @@
chlflg = #{chlflg,jdbcType=VARCHAR},
orimsgtyp = #{orimsgtyp,jdbcType=VARCHAR},
mpiinr = #{mpiinr,jdbcType=VARCHAR},
xxxcnt = #{xxxcnt,javaType=INTEGER},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
......@@ -356,7 +362,8 @@
<if test="module.f20 != null">f20 = #{module.f20,jdbcType=VARCHAR},</if>
<if test="module.chlflg != null">chlflg = #{module.chlflg,jdbcType=VARCHAR},</if>
<if test="module.orimsgtyp != null">orimsgtyp = #{module.orimsgtyp,jdbcType=VARCHAR},</if>
<if test="module.mpiinr != null">orimsgtyp = #{module.mpiinr,jdbcType=VARCHAR},</if>
<if test="module.mpiinr != null">mpiinr = #{module.mpiinr,jdbcType=VARCHAR},</if>
<if test="module.xxxcnt != null">xxxcnt = #{module.xxxcnt,jdbcType=INTEGER},</if>
</set>
${conditions}
</update>
......@@ -441,6 +448,7 @@
<if test="chlflg != null">and chlflg = #{chlflg,jdbcType=VARCHAR}</if>
<if test="orimsgtyp != null">and orimsgtyp = #{orimsgtyp,jdbcType=VARCHAR}</if>
<if test="mpiinr != null">and mpiinr = #{mpiinr,jdbcType=VARCHAR}</if>
<if test="xxxcnt != null">and xxxcnt = #{xxxcnt,jdbcType=INTEGER}</if>
</select>
<select id="selectRelationSmh" resultMap="BaseResultMap">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment