Commit 7fe8c214 authored by shangtx's avatar shangtx

fix: 个人订单数量bug

parent 3022e5a5
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
select count(if(order_status = 3, id, null)) `pay`, select count(if(order_status = 3, id, null)) `pay`,
count(if(order_status = 1 or order_status = 2, id, null)) `handle`, count(if(order_status = 1 or order_status = 2, id, null)) `handle`,
count(if(order_status = 4, id, null)) `dispatch`, count(if(order_status = 4, id, null)) `dispatch`,
count(if(order_status = 6, id, null)) `finished` count(if(order_status = 5, id, null)) `service`
from service_order from service_order
where account_no = #{accountNo} where account_no = #{accountNo}
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment