新增订单添加修改商品状态的逻辑

This commit is contained in:
longbinbin
2024-12-06 16:58:49 +08:00
parent 90b2851092
commit 3bb091d06d
4 changed files with 132 additions and 29 deletions

View File

@ -14,6 +14,7 @@
<if test="taskId!= null">task_id = #{taskId}, </if>
<if test="workerId!= null">worker_id = #{workerId}, </if>
<if test="videoUrl!= null">video_url = #{videoUrl}, </if>
<if test="isBuy!= null">is_buy = #{isBuy}, </if>
</set>
where id = #{id}
</update>
@ -42,7 +43,7 @@
</where>
</select>
<select id="getById" resultType="com.ycwl.basic.model.pc.video.resp.VideoRespVO">
select v.id, scenic_id, member_id, template_id, task_id, worker_id, video_url, v.create_time, v.update_time,
select v.id, v.scenic_id, member_id, template_id, task_id, worker_id, video_url, v.create_time, v.update_time,
t.name templateName,t.price templatePrice
from video v
left join template t on v.template_id = t.id