实训体验

This commit is contained in:
guohb
2024-03-27 17:18:42 +08:00
parent 60e862e273
commit 86742ab075
6 changed files with 34 additions and 10 deletions

View File

@@ -42,14 +42,14 @@
<if test="entity.abandonCause != null">abandon_cause,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="entity.partnerId != null">#{request.partnerId},</if>
<if test="entity.lineId != null">#{request.lineId},</if>
<if test="entity.storeName != null">#{request.storeName},</if>
<if test="entity.storeId != null">#{request.storeId},</if>
<if test="entity.experienceStartTime != null">#{request.experienceStartTime},</if>
<if test="entity.experienceEndTime != null">#{request.experienceEndTime},</if>
<if test="entity.experienceStatus != null">#{request.experienceStatus},</if>
<if test="entity.abandonCause != null">#{request.abandonCause},</if>
<if test="entity.partnerId != null">#{entity.partnerId},</if>
<if test="entity.lineId != null">#{entity.lineId},</if>
<if test="entity.storeName != null">#{entity.storeName},</if>
<if test="entity.storeId != null">#{entity.storeId},</if>
<if test="entity.experienceStartTime != null">#{entity.experienceStartTime},</if>
<if test="entity.experienceEndTime != null">#{entity.experienceEndTime},</if>
<if test="entity.experienceStatus != null">#{entity.experienceStatus},</if>
<if test="entity.abandonCause != null">#{entity.abandonCause},</if>
</trim>
</insert>
<update id="updateStatus">
@@ -60,6 +60,12 @@
abandon_cause=#{abandonCause}
where line_id = #{lineId}
</update>
<select id="selectByLineId" resultType="com.cool.store.entity.LeaseBaseInfoDO">
select
<include refid="Base_Column_List"/>
from xfsg_lease_base_info
where line_id = #{lineId}
</select>
</mapper>