bug
This commit is contained in:
@@ -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">
|
||||
<!--
|
||||
|
||||
Reference in New Issue
Block a user