...
|
...
|
@@ -9,10 +9,7 @@ import com.yohobuy.ufo.model.order.bo.OrderInfo; |
|
|
import com.yohobuy.ufo.model.order.bo.SoldPrdComputeBo;
|
|
|
import com.yohobuy.ufo.model.order.common.*;
|
|
|
import com.yohobuy.ufo.model.order.req.*;
|
|
|
import com.yohobuy.ufo.model.order.resp.BatchChangePriceResp;
|
|
|
import com.yohobuy.ufo.model.order.resp.OrderCntResp;
|
|
|
import com.yohobuy.ufo.model.order.resp.OrderListInfo;
|
|
|
import com.yohobuy.ufo.model.order.resp.PageResp;
|
|
|
import com.yohobuy.ufo.model.order.resp.*;
|
|
|
import com.yohoufo.common.alarm.EventBusPublisher;
|
|
|
import com.yohoufo.common.alarm.SmsAlarmEvent;
|
|
|
import com.yohoufo.common.exception.GatewayException;
|
...
|
...
|
@@ -728,7 +725,7 @@ public class SellerOrderService implements IOrderListService, IOrderDetailServi |
|
|
return total;
|
|
|
}
|
|
|
|
|
|
public List<OrderListInfo> refresh(OrderRequest req){
|
|
|
public SellerOrderListResp refresh(OrderRequest req){
|
|
|
int uid = req.getUid();
|
|
|
if(uid <= 0){
|
|
|
log.warn("seller refresh uid illegal , req {}", req);
|
...
|
...
|
@@ -768,7 +765,8 @@ public class SellerOrderService implements IOrderListService, IOrderDetailServi |
|
|
boolean isEntry = userProxyService.isEntryShop(uid);
|
|
|
final SellerType sellerType = isEntry ? SellerType.ENTRY : SellerType.COMMON;
|
|
|
log.info("seller refresh ready 2 buildOrderList req {}", req);
|
|
|
return sellerOrderListService.buildOrderList(psogList,sellerType);
|
|
|
List<OrderListInfo> list = sellerOrderListService.buildOrderList(psogList,sellerType);
|
|
|
return SellerOrderListResp.builder().orderListInfos(list).batchNo(bn).build();
|
|
|
}
|
|
|
return null;
|
|
|
}
|
...
|
...
|
|