...
|
...
|
@@ -112,7 +112,7 @@ public class SellerOrderViewService { |
|
|
Integer cnt = orderCacheService.getOrderSummary(uid, TabType.SELL, businessClient);
|
|
|
if (cnt == null) {
|
|
|
final BusinessClientEnum bce = OrderAssist.findBusinessClient(businessClient);
|
|
|
List<Integer> orderTypes = OrderAssist.matchOrderTypesByBusinessClient(bce);
|
|
|
List<Integer> orderTypes = OrderAssist.matchOrderTypesByBusinessClient4Seller(bce);
|
|
|
Integer num = sellerOrderGoodsMapper.selectCntByUidStatusList(uid, Arrays.asList(SkupStatus.CAN_SELL.getCode()), orderTypes);
|
|
|
List<SellerOrderListType> types = Arrays.asList(SellerOrderListType.SEND_OUT, SellerOrderListType.WAITING_PAY);
|
|
|
List<Integer> statusList = types.parallelStream().flatMap(solt -> solt.getStatus().parallelStream()).collect(Collectors.toList());
|
...
|
...
|
@@ -141,7 +141,7 @@ public class SellerOrderViewService { |
|
|
final String actor = TabType.SELL.getValue();
|
|
|
//not hit in cache
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
List<Integer> orderTypes = OrderAssist.matchOrderTypesByBusinessClient(bce);
|
|
|
List<Integer> orderTypes = OrderAssist.matchOrderTypesByBusinessClient4Seller(bce);
|
|
|
list = new ArrayList<>(8);
|
|
|
SellerOrderListType insale = SellerOrderListType.IN_SALE;
|
|
|
int num = sellerOrderGoodsMapper.selectCntByUidStatusList(uid, Arrays.asList(SkupStatus.CAN_SELL.getCode()), orderTypes);
|
...
|
...
|
|