|
|
@@ -30,6 +30,8 @@
|
|
|
<result column="VCI_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
|
|
|
<result column="VCI_EXEIT_STATE" jdbcType="CHAR" property="exeitState" />
|
|
|
<result column="VCI_LUCK" jdbcType="VARCHAR" property="luck" />
|
|
|
+ <result column="VCI_ACCUMULATED_AMOUNT" jdbcType="VARCHAR" property="accumulatedAmount" />
|
|
|
+ <result column="VCI_DRAW_AMOUNT" jdbcType="VARCHAR" property="drawAmount" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
@@ -106,7 +108,7 @@
|
|
|
VCI_CARGO_WAY_LINE, VCI_CARGO_WAY_NUMS, VCI_PRODUCT_NUMS, VCI_USER_Id, VCI_SALL_PRICE,
|
|
|
VCI_GAME_PRICE, VCI_COST_PRICE, VCI_IS_PROMOTION, VCI_PROMOTION_PRICE, VCI_GAME_TYPE,
|
|
|
VCI_IS_FRAGILE, VCI_REMARKS, VCI_CREATE_USER, VCI_CREATE_TIME, VCI_MODIFY_USER, VCI_MODIFY_TIME,
|
|
|
- VCI_EXEIT_STATE, VCI_LUCK
|
|
|
+ VCI_EXEIT_STATE, VCI_LUCK, VCI_ACCUMULATED_AMOUNT, VCI_DRAW_AMOUNT
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.minpay.db.table.model.VmProEquRelExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -166,8 +168,8 @@
|
|
|
VCI_COST_PRICE, VCI_IS_PROMOTION, VCI_PROMOTION_PRICE,
|
|
|
VCI_GAME_TYPE, VCI_IS_FRAGILE, VCI_REMARKS,
|
|
|
VCI_CREATE_USER, VCI_CREATE_TIME, VCI_MODIFY_USER,
|
|
|
- VCI_MODIFY_TIME, VCI_EXEIT_STATE, VCI_LUCK
|
|
|
- )
|
|
|
+ VCI_MODIFY_TIME, VCI_EXEIT_STATE, VCI_LUCK,
|
|
|
+ VCI_ACCUMULATED_AMOUNT, VCI_DRAW_AMOUNT)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR},
|
|
|
#{equipmentId,jdbcType=VARCHAR}, #{aisle,jdbcType=VARCHAR}, #{cargoWayRow,jdbcType=VARCHAR},
|
|
|
#{cargoWayLine,jdbcType=VARCHAR}, #{cargoWayNums,jdbcType=VARCHAR}, #{productNums,jdbcType=VARCHAR},
|
|
|
@@ -175,8 +177,8 @@
|
|
|
#{costPrice,jdbcType=VARCHAR}, #{isPromotion,jdbcType=CHAR}, #{promotionPrice,jdbcType=VARCHAR},
|
|
|
#{gameType,jdbcType=VARCHAR}, #{isFragile,jdbcType=CHAR}, #{remarks,jdbcType=VARCHAR},
|
|
|
#{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR},
|
|
|
- #{modifyTime,jdbcType=VARCHAR}, #{exeitState,jdbcType=CHAR}, #{luck,jdbcType=VARCHAR}
|
|
|
- )
|
|
|
+ #{modifyTime,jdbcType=VARCHAR}, #{exeitState,jdbcType=CHAR}, #{luck,jdbcType=VARCHAR},
|
|
|
+ #{accumulatedAmount,jdbcType=VARCHAR}, #{drawAmount,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.minpay.db.table.model.VmProEquRel">
|
|
|
<!--
|
|
|
@@ -257,6 +259,12 @@
|
|
|
<if test="luck != null">
|
|
|
VCI_LUCK,
|
|
|
</if>
|
|
|
+ <if test="accumulatedAmount != null">
|
|
|
+ VCI_ACCUMULATED_AMOUNT,
|
|
|
+ </if>
|
|
|
+ <if test="drawAmount != null">
|
|
|
+ VCI_DRAW_AMOUNT,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -331,6 +339,12 @@
|
|
|
<if test="luck != null">
|
|
|
#{luck,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="accumulatedAmount != null">
|
|
|
+ #{accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="drawAmount != null">
|
|
|
+ #{drawAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.minpay.db.table.model.VmProEquRelExample" resultType="java.lang.Integer">
|
|
|
@@ -422,6 +436,12 @@
|
|
|
<if test="record.luck != null">
|
|
|
VCI_LUCK = #{record.luck,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.accumulatedAmount != null">
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{record.accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.drawAmount != null">
|
|
|
+ VCI_DRAW_AMOUNT = #{record.drawAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -456,7 +476,9 @@
|
|
|
VCI_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
|
|
|
VCI_EXEIT_STATE = #{record.exeitState,jdbcType=CHAR},
|
|
|
- VCI_LUCK = #{record.luck,jdbcType=VARCHAR}
|
|
|
+ VCI_LUCK = #{record.luck,jdbcType=VARCHAR},
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{record.accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ VCI_DRAW_AMOUNT = #{record.drawAmount,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -537,6 +559,12 @@
|
|
|
<if test="luck != null">
|
|
|
VCI_LUCK = #{luck,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="accumulatedAmount != null">
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="drawAmount != null">
|
|
|
+ VCI_DRAW_AMOUNT = #{drawAmount,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -568,7 +596,9 @@
|
|
|
VCI_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
|
|
|
VCI_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
|
|
|
VCI_EXEIT_STATE = #{exeitState,jdbcType=CHAR},
|
|
|
- VCI_LUCK = #{luck,jdbcType=VARCHAR}
|
|
|
+ VCI_LUCK = #{luck,jdbcType=VARCHAR},
|
|
|
+ VCI_ACCUMULATED_AMOUNT = #{accumulatedAmount,jdbcType=VARCHAR},
|
|
|
+ VCI_DRAW_AMOUNT = #{drawAmount,jdbcType=VARCHAR}
|
|
|
where VCI_ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|