修改创建订单,判断购物车为空处理

This commit is contained in:
韩鹏辉
2024-03-26 16:16:14 +08:00
parent 130d3259cc
commit f206777914
2 changed files with 19 additions and 0 deletions

View File

@@ -122,6 +122,10 @@
FROM
tb_shop_user_flow f
LEFT JOIN tb_shop_user u ON f.shop_user_id = u.id
where 1=1
<if test="memberId != null and memberId!=''">
and u.id = #{memberId}
</if>
order by f.id desc
</select>
</mapper>