This commit is contained in:
shuo.wang
2025-02-21 16:03:17 +08:00
parent eebefdbe79
commit be7fee6b53

View File

@@ -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>