|
@@ -18,6 +18,8 @@
|
|
|
<result column="ACT_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
|
|
|
<result column="ACT_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
|
|
|
<result column="ACT_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
+ <result column="ACT_STATE" jdbcType="VARCHAR" property="state" />
|
|
|
+ <result column="ACT_EQUIPMENT_ID" jdbcType="VARCHAR" property="equipmentId" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
@@ -91,7 +93,7 @@
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
-->
|
|
|
ACT_ID, ACT_CHANNEL, ACT_USRID, ACT_TYPE, ACT_NAME, ACT_NUMBER, ACT_AMT, ACT_AVA_AMT,
|
|
|
- ACT_CREATE_USER, ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME
|
|
|
+ ACT_CREATE_USER, ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME, ACT_STATE, ACT_EQUIPMENT_ID
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmAccountExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
@@ -147,13 +149,13 @@
|
|
|
insert into vm_account (ACT_ID, ACT_CHANNEL, ACT_USRID,
|
|
|
ACT_TYPE, ACT_NAME, ACT_NUMBER,
|
|
|
ACT_AMT, ACT_AVA_AMT, ACT_CREATE_USER,
|
|
|
- ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME
|
|
|
- )
|
|
|
+ ACT_CREATE_TIME, ACT_MODIFY_USER, ACT_MODIFY_TIME,
|
|
|
+ ACT_STATE, ACT_EQUIPMENT_ID)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{usrid,jdbcType=VARCHAR},
|
|
|
#{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR},
|
|
|
#{amt,jdbcType=VARCHAR}, #{avaAmt,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
|
|
|
- #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR}
|
|
|
- )
|
|
|
+ #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ #{state,jdbcType=VARCHAR}, #{equipmentId,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmAccount">
|
|
|
<!--
|
|
@@ -198,6 +200,12 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ACT_MODIFY_TIME,
|
|
|
</if>
|
|
|
+ <if test="state != null">
|
|
|
+ ACT_STATE,
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null">
|
|
|
+ ACT_EQUIPMENT_ID,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
@@ -236,6 +244,12 @@
|
|
|
<if test="modifyTime != null">
|
|
|
#{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="state != null">
|
|
|
+ #{state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null">
|
|
|
+ #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmAccountExample" resultType="java.lang.Integer">
|
|
@@ -291,6 +305,12 @@
|
|
|
<if test="record.modifyTime != null">
|
|
|
ACT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.state != null">
|
|
|
+ ACT_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.equipmentId != null">
|
|
|
+ ACT_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -313,7 +333,9 @@
|
|
|
ACT_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
|
|
|
ACT_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
|
|
|
ACT_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
- ACT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR}
|
|
|
+ ACT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
+ ACT_STATE = #{record.state,jdbcType=VARCHAR},
|
|
|
+ ACT_EQUIPMENT_ID = #{record.equipmentId,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -358,6 +380,12 @@
|
|
|
<if test="modifyTime != null">
|
|
|
ACT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="state != null">
|
|
|
+ ACT_STATE = #{state,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="equipmentId != null">
|
|
|
+ ACT_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -377,7 +405,9 @@
|
|
|
ACT_CREATE_USER = #{createUser,jdbcType=VARCHAR},
|
|
|
ACT_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
|
|
|
ACT_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
- ACT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR}
|
|
|
+ ACT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
+ ACT_STATE = #{state,jdbcType=VARCHAR},
|
|
|
+ ACT_EQUIPMENT_ID = #{equipmentId,jdbcType=VARCHAR}
|
|
|
where ACT_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|