Authored by mali

订单总数

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