用户订单列表

This commit is contained in:
wangjinlei
2023-10-26 19:37:23 +08:00
parent c5e6cfdc89
commit 78ef8bc4ac
6 changed files with 59 additions and 2 deletions

View File

@@ -50,7 +50,7 @@
order by a.sort desc
</select>
<select id="getTotalWeight" parameterType="list">
<select id="getTotalWeight" parameterType="list" resultType="java.lang.Integer">
select sum(weight) from shop_product where product_id in
<foreach collection="list" item="id" index="index" open="(" close=")" separator=",">
#{id}