|
@@ -15,6 +15,7 @@
|
|
|
<result column="DRI_STATE" jdbcType="VARCHAR" property="state" />
|
|
<result column="DRI_STATE" jdbcType="VARCHAR" property="state" />
|
|
|
<result column="DRI_DAY_INTERVAL" jdbcType="VARCHAR" property="dayInterval" />
|
|
<result column="DRI_DAY_INTERVAL" jdbcType="VARCHAR" property="dayInterval" />
|
|
|
<result column="DRI_TIME_INTERVAL" jdbcType="VARCHAR" property="timeInterval" />
|
|
<result column="DRI_TIME_INTERVAL" jdbcType="VARCHAR" property="timeInterval" />
|
|
|
|
|
+ <result column="DRI_ZDTTY_COMPARE_ID" jdbcType="VARCHAR" property="zdttyCompareId" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
<!--
|
|
@@ -88,7 +89,7 @@
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
-->
|
|
|
DRI_ID, DRI_UPLOAD_DATE, DRI_FILE_NAME, DRI_CREAT_USER, DRI_BRANCH, DRI_TYPE, DRI_STATE,
|
|
DRI_ID, DRI_UPLOAD_DATE, DRI_FILE_NAME, DRI_CREAT_USER, DRI_BRANCH, DRI_TYPE, DRI_STATE,
|
|
|
- DRI_DAY_INTERVAL, DRI_TIME_INTERVAL
|
|
|
|
|
|
|
+ DRI_DAY_INTERVAL, DRI_TIME_INTERVAL, DRI_ZDTTY_COMPARE_ID
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.DwReportInfExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.DwReportInfExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
<!--
|
|
@@ -143,12 +144,12 @@
|
|
|
-->
|
|
-->
|
|
|
insert into dw_report_inf (DRI_ID, DRI_UPLOAD_DATE, DRI_FILE_NAME,
|
|
insert into dw_report_inf (DRI_ID, DRI_UPLOAD_DATE, DRI_FILE_NAME,
|
|
|
DRI_CREAT_USER, DRI_BRANCH, DRI_TYPE,
|
|
DRI_CREAT_USER, DRI_BRANCH, DRI_TYPE,
|
|
|
- DRI_STATE, DRI_DAY_INTERVAL, DRI_TIME_INTERVAL
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ DRI_STATE, DRI_DAY_INTERVAL, DRI_TIME_INTERVAL,
|
|
|
|
|
+ DRI_ZDTTY_COMPARE_ID)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{uploadDate,jdbcType=VARCHAR}, #{fileName,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{uploadDate,jdbcType=VARCHAR}, #{fileName,jdbcType=VARCHAR},
|
|
|
#{creatUser,jdbcType=VARCHAR}, #{branch,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
|
#{creatUser,jdbcType=VARCHAR}, #{branch,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
|
|
- #{state,jdbcType=VARCHAR}, #{dayInterval,jdbcType=VARCHAR}, #{timeInterval,jdbcType=VARCHAR}
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ #{state,jdbcType=VARCHAR}, #{dayInterval,jdbcType=VARCHAR}, #{timeInterval,jdbcType=VARCHAR},
|
|
|
|
|
+ #{zdttyCompareId,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.DwReportInf">
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.DwReportInf">
|
|
|
<!--
|
|
<!--
|
|
@@ -184,6 +185,9 @@
|
|
|
<if test="timeInterval != null">
|
|
<if test="timeInterval != null">
|
|
|
DRI_TIME_INTERVAL,
|
|
DRI_TIME_INTERVAL,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="zdttyCompareId != null">
|
|
|
|
|
+ DRI_ZDTTY_COMPARE_ID,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -213,6 +217,9 @@
|
|
|
<if test="timeInterval != null">
|
|
<if test="timeInterval != null">
|
|
|
#{timeInterval,jdbcType=VARCHAR},
|
|
#{timeInterval,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="zdttyCompareId != null">
|
|
|
|
|
+ #{zdttyCompareId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.DwReportInfExample" resultType="java.lang.Integer">
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.DwReportInfExample" resultType="java.lang.Integer">
|
|
@@ -259,6 +266,9 @@
|
|
|
<if test="record.timeInterval != null">
|
|
<if test="record.timeInterval != null">
|
|
|
DRI_TIME_INTERVAL = #{record.timeInterval,jdbcType=VARCHAR},
|
|
DRI_TIME_INTERVAL = #{record.timeInterval,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.zdttyCompareId != null">
|
|
|
|
|
+ DRI_ZDTTY_COMPARE_ID = #{record.zdttyCompareId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -278,7 +288,8 @@
|
|
|
DRI_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
DRI_TYPE = #{record.type,jdbcType=VARCHAR},
|
|
|
DRI_STATE = #{record.state,jdbcType=VARCHAR},
|
|
DRI_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
DRI_DAY_INTERVAL = #{record.dayInterval,jdbcType=VARCHAR},
|
|
DRI_DAY_INTERVAL = #{record.dayInterval,jdbcType=VARCHAR},
|
|
|
- DRI_TIME_INTERVAL = #{record.timeInterval,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ DRI_TIME_INTERVAL = #{record.timeInterval,jdbcType=VARCHAR},
|
|
|
|
|
+ DRI_ZDTTY_COMPARE_ID = #{record.zdttyCompareId,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -314,6 +325,9 @@
|
|
|
<if test="timeInterval != null">
|
|
<if test="timeInterval != null">
|
|
|
DRI_TIME_INTERVAL = #{timeInterval,jdbcType=VARCHAR},
|
|
DRI_TIME_INTERVAL = #{timeInterval,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="zdttyCompareId != null">
|
|
|
|
|
+ DRI_ZDTTY_COMPARE_ID = #{zdttyCompareId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where DRI_ID = #{id,jdbcType=VARCHAR}
|
|
where DRI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
@@ -330,7 +344,8 @@
|
|
|
DRI_TYPE = #{type,jdbcType=VARCHAR},
|
|
DRI_TYPE = #{type,jdbcType=VARCHAR},
|
|
|
DRI_STATE = #{state,jdbcType=VARCHAR},
|
|
DRI_STATE = #{state,jdbcType=VARCHAR},
|
|
|
DRI_DAY_INTERVAL = #{dayInterval,jdbcType=VARCHAR},
|
|
DRI_DAY_INTERVAL = #{dayInterval,jdbcType=VARCHAR},
|
|
|
- DRI_TIME_INTERVAL = #{timeInterval,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ DRI_TIME_INTERVAL = #{timeInterval,jdbcType=VARCHAR},
|
|
|
|
|
+ DRI_ZDTTY_COMPARE_ID = #{zdttyCompareId,jdbcType=VARCHAR}
|
|
|
where DRI_ID = #{id,jdbcType=VARCHAR}
|
|
where DRI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|