Authored by mali

订单总数

@@ -132,6 +132,6 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { @@ -132,6 +132,6 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
132 */ 132 */
133 public OrderSummaryResp selectOrderNumByUid(int uid) { 133 public OrderSummaryResp selectOrderNumByUid(int uid) {
134 Integer num = buyerOrderMapper.selectOrderNumByUid(uid); 134 Integer num = buyerOrderMapper.selectOrderNumByUid(uid);
135 - return null == num ? new OrderSummaryResp("sell", 0) : new OrderSummaryResp("sell", num); 135 + return null == num ? new OrderSummaryResp("buy", 0) : new OrderSummaryResp("buy", num);
136 } 136 }
137 } 137 }