This commit is contained in:
guohb
2024-03-29 09:43:32 +08:00
parent 000561518b
commit 5e5199f246
4 changed files with 20 additions and 3 deletions

View File

@@ -51,6 +51,16 @@
<if test="entity.experienceStatus != null">#{entity.experienceStatus},</if>
<if test="entity.abandonCause != null">#{entity.abandonCause},</if>
</trim>
ON DUPLICATE KEY UPDATE
<trim suffixOverrides=",">
<if test="entity.partnerId != null">partner_id = #{entity.partnerId},</if>
<if test="entity.storeName != null">store_name = #{entity.storeName},</if>
<if test="entity.storeId != null">store_id = #{entity.storeId},</if>
<if test="entity.experienceStartTime != null">experience_start_time = #{entity.experienceStartTime},</if>
<if test="entity.experienceEndTime != null">experience_end_time = #{entity.experienceEndTime},</if>
<if test="entity.experienceStatus != null">experience_status = #{entity.experienceStatus},</if>
<if test="entity.abandonCause != null">abandon_cause = #{entity.abandonCause},</if>
</trim>
</insert>
<update id="updateStatus">
update