This commit is contained in:
wangjinlei
2023-11-03 17:03:42 +08:00
parent b683c29ad5
commit 5b71036241
10 changed files with 76 additions and 2 deletions

View File

@@ -69,6 +69,18 @@
and del_flag = 0
</select>
<select id="orderStatusNum" resultType="com.peanut.modules.book.entity.BuyOrder">
select *,count(*) as statusNum
from buy_order
where
user_id = #{userId}
and del_flag = 0
and order_status in (0,1,2,3)
group by
order_status
</select>
<select id="orderList" resultType="com.peanut.modules.book.entity.BuyOrder"
parameterType="com.peanut.modules.book.vo.request.BuyOrderListRequestVo" resultMap="buyOrderMap">
<!--