修改状态

This commit is contained in:
韩鹏辉
2024-05-20 18:03:41 +08:00
parent 509137b200
commit c92fbfc554
2 changed files with 7 additions and 2 deletions

View File

@@ -372,6 +372,11 @@
</update>
<select id="selectByOrderId" resultMap="BaseResultMap">
select * from tb_cashier_cart where order_id=#{orderId} and `status`=#{status}
select * from tb_cashier_cart where order_id=#{orderId}
<if test="status != null">
and `status`=#{status}
</if>
</select>
</mapper>