Commit cf078df8 by gechengyang

smhmapper增加mpiinr字段

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