|
|
<?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.tianbo.imfClient.dao.T_ETL_MESSAGEMapper">
|
|
|
<resultMap id="BaseResultMap" type="com.tianbo.imfClient.model.T_ETL_MESSAGE">
|
|
|
<mapper namespace="com.tianbo.analysis.dao.T_ETL_MESSAGEMapper">
|
|
|
<resultMap id="BaseResultMap" type="com.tianbo.analysis.model.T_ETL_MESSAGE">
|
|
|
<id column="FID" jdbcType="DECIMAL" property="fid" />
|
|
|
<result column="OPER" jdbcType="VARCHAR" property="oper" />
|
|
|
<result column="SNTM" jdbcType="TIMESTAMP" property="sntm" />
|
...
|
...
|
@@ -22,7 +22,7 @@ |
|
|
<result column="ERRLOG" jdbcType="NVARCHAR" property="errlog" />
|
|
|
<result column="APPID" jdbcType="VARCHAR" property="appid" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tianbo.imfClient.model.T_ETL_MESSAGE">
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tianbo.analysis.model.T_ETL_MESSAGE">
|
|
|
<result column="CONTENT" jdbcType="CLOB" property="content" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
...
|
...
|
@@ -44,7 +44,7 @@ |
|
|
delete from T_ETL_MESSAGE
|
|
|
where FID = #{fid,jdbcType=DECIMAL}
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tianbo.imfClient.model.T_ETL_MESSAGE">
|
|
|
<insert id="insert" parameterType="com.tianbo.analysis.model.T_ETL_MESSAGE">
|
|
|
insert into T_ETL_MESSAGE (FID, OPER, SNTM,
|
|
|
SNDR, RCVR, SEQN, DDTM,
|
|
|
TYPE, STYP, TRANSID,
|
...
|
...
|
@@ -60,7 +60,7 @@ |
|
|
#{errflag,jdbcType=DECIMAL}, #{errlog,jdbcType=NVARCHAR}, #{appid,jdbcType=VARCHAR},
|
|
|
#{content,jdbcType=CLOB})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tianbo.imfClient.model.T_ETL_MESSAGE">
|
|
|
<insert id="insertSelective" parameterType="com.tianbo.analysis.model.T_ETL_MESSAGE">
|
|
|
insert into T_ETL_MESSAGE
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="fid != null">
|
...
|
...
|
@@ -187,7 +187,7 @@ |
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.tianbo.imfClient.model.T_ETL_MESSAGE">
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.tianbo.analysis.model.T_ETL_MESSAGE">
|
|
|
update T_ETL_MESSAGE
|
|
|
<set>
|
|
|
<if test="oper != null">
|
...
|
...
|
@@ -250,7 +250,7 @@ |
|
|
</set>
|
|
|
where FID = #{fid,jdbcType=DECIMAL}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tianbo.imfClient.model.T_ETL_MESSAGE">
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tianbo.analysis.model.T_ETL_MESSAGE">
|
|
|
update T_ETL_MESSAGE
|
|
|
set OPER = #{oper,jdbcType=VARCHAR},
|
|
|
SNTM = #{sntm,jdbcType=TIMESTAMP},
|
...
|
...
|
@@ -273,7 +273,7 @@ |
|
|
CONTENT = #{content,jdbcType=CLOB}
|
|
|
where FID = #{fid,jdbcType=DECIMAL}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tianbo.imfClient.model.T_ETL_MESSAGE">
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tianbo.analysis.model.T_ETL_MESSAGE">
|
|
|
update T_ETL_MESSAGE
|
|
|
set OPER = #{oper,jdbcType=VARCHAR},
|
|
|
SNTM = #{sntm,jdbcType=TIMESTAMP},
|
...
|
...
|
|