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