Commit cf078df8 by gechengyang

smhmapper增加mpiinr字段

parent a64bec08
......@@ -44,6 +44,7 @@
<result property="f20" column="f20" jdbcType="VARCHAR"/>
<result property="chlflg" column="chlflg" jdbcType="VARCHAR"/>
<result property="orimsgtyp" column="orimsgtyp" jdbcType="VARCHAR"/>
<result property="mpiinr" column="mpiinr" jdbcType="VARCHAR"/>
</resultMap>
......@@ -59,7 +60,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
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
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap">
......@@ -118,6 +119,7 @@
#{f20,jdbcType=VARCHAR},
#{chlflg,jdbcType=VARCHAR},
#{orimsgtyp,jdbcType=VARCHAR},
#{mpiinr,jdbcType=VARCHAR},
</trim>
</insert>
......@@ -164,6 +166,7 @@
<if test="f20 != null">f20,</if>
<if test="chlflg != null">chlflg,</if>
<if test="orimsgtyp != null">orimsgtyp,</if>
<if test="mpiinr != null">mpiinr,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="inr != null">#{inr,jdbcType=VARCHAR},</if>
......@@ -206,6 +209,7 @@
<if test="f20 != null">#{f20,jdbcType=VARCHAR},</if>
<if test="chlflg != null">#{chlflg,jdbcType=VARCHAR},</if>
<if test="orimsgtyp != null">#{orimsgtyp,jdbcType=VARCHAR},</if>
<if test="mpiinr != null">#{mpiinr,jdbcType=VARCHAR},</if>
</trim>
</insert>
......@@ -251,6 +255,7 @@
<if test="f20 != null">f20 = #{f20,jdbcType=VARCHAR},</if>
<if test="chlflg != null">chlflg = #{chlflg,jdbcType=VARCHAR},</if>
<if test="orimsgtyp != null">orimsgtyp = #{orimsgtyp,jdbcType=VARCHAR},</if>
<if test="mpiinr != null">#{mpiinr,jdbcType=VARCHAR},</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
......@@ -297,6 +302,7 @@
f20 = #{f20,jdbcType=VARCHAR},
chlflg = #{chlflg,jdbcType=VARCHAR},
orimsgtyp = #{orimsgtyp,jdbcType=VARCHAR},
mpiinr = #{mpiinr,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
......@@ -350,6 +356,7 @@
<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>
</set>
${conditions}
</update>
......@@ -433,6 +440,7 @@
<if test="f20 != null">and f20 = #{f20,jdbcType=VARCHAR}</if>
<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>
</select>
<select id="selectRelationSmh" resultMap="BaseResultMap">
......@@ -815,7 +823,7 @@
apfcnt =#{apfcnt,jdbcType=VARCHAR}
limit 1
</select>
<select id="selectByMpiinr" resultType="com.brilliance.isc.mda.dao">
<select id="selectByMpiinr" resultType="com.brilliance.isc.bo.Smh">
select
<include refid="Base_Column_List"/>
from smh
......
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