fix
This commit is contained in:
@@ -111,6 +111,9 @@
|
|||||||
<if test="amount != null">
|
<if test="amount != null">
|
||||||
amount,
|
amount,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="combinedField != null">
|
||||||
|
combined_field,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="partnerId != null">
|
<if test="partnerId != null">
|
||||||
@@ -176,6 +179,9 @@
|
|||||||
<if test="amount !=null">
|
<if test="amount !=null">
|
||||||
#{amount},
|
#{amount},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="combinedField != null">
|
||||||
|
#{combinedField,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="com.cool.store.entity.LinePayDO">
|
<update id="updateByPrimaryKeySelective" parameterType="com.cool.store.entity.LinePayDO">
|
||||||
@@ -238,6 +244,9 @@
|
|||||||
<if test="amount != null">
|
<if test="amount != null">
|
||||||
amount = #{amount,jdbcType=VARCHAR},
|
amount = #{amount,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="combinedField != null">
|
||||||
|
combined_field = #{combinedField,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
|
|||||||
Reference in New Issue
Block a user