mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:09:19 +08:00
remove: 移除遗留代码
This commit is contained in:
+1
-3
@@ -28,8 +28,6 @@ import java.time.ZoneId;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
|
||||||
import java.util.LinkedHashMap;
|
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@@ -421,7 +419,7 @@ public class BiOrderStatDirtyDayService {
|
|||||||
if (ids.isEmpty()) {
|
if (ids.isEmpty()) {
|
||||||
return Map.of();
|
return Map.of();
|
||||||
}
|
}
|
||||||
return shopMapper.selectBatchIds(ids).stream()
|
return shopMapper.selectByIds(ids).stream()
|
||||||
.collect(Collectors.toMap(ShopPO::getId, s -> s.getName() != null ? s.getName() : "", (a, b) -> a));
|
.collect(Collectors.toMap(ShopPO::getId, s -> s.getName() != null ? s.getName() : "", (a, b) -> a));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
-1
@@ -5,7 +5,6 @@ import lombok.Data;
|
|||||||
import top.xyquan.ecomdmbbackend.modules.bi.messaging.BiProductStatDelta;
|
import top.xyquan.ecomdmbbackend.modules.bi.messaging.BiProductStatDelta;
|
||||||
import top.xyquan.ecomdmbbackend.modules.bi.messaging.BiSkuStatDelta;
|
import top.xyquan.ecomdmbbackend.modules.bi.messaging.BiSkuStatDelta;
|
||||||
import top.xyquan.ecomdmbbackend.modules.bi.messaging.BiStatMetricDelta;
|
import top.xyquan.ecomdmbbackend.modules.bi.messaging.BiStatMetricDelta;
|
||||||
import top.xyquan.ecomdmbbackend.modules.bi.orderstat.support.OrderItemCostResolver;
|
|
||||||
import top.xyquan.ecomdmbbackend.modules.ec.order.model.po.OrderItemPO;
|
import top.xyquan.ecomdmbbackend.modules.ec.order.model.po.OrderItemPO;
|
||||||
import top.xyquan.ecomdmbbackend.modules.ec.order.model.po.OrderPO;
|
import top.xyquan.ecomdmbbackend.modules.ec.order.model.po.OrderPO;
|
||||||
import top.xyquan.ecomdmbbackend.modules.ec.order.status.support.OrderStatusStatSets;
|
import top.xyquan.ecomdmbbackend.modules.ec.order.status.support.OrderStatusStatSets;
|
||||||
|
|||||||
-4
@@ -37,10 +37,8 @@ import top.xyquan.ecomdmbbackend.modules.ec.shop.service.ShopService;
|
|||||||
import top.xyquan.ecomdmbbackend.modules.sys.license.LicenseFeature;
|
import top.xyquan.ecomdmbbackend.modules.sys.license.LicenseFeature;
|
||||||
import top.xyquan.ecomdmbbackend.modules.sys.license.LicenseFeatureGuard;
|
import top.xyquan.ecomdmbbackend.modules.sys.license.LicenseFeatureGuard;
|
||||||
import top.xyquan.ecomdmbbackend.utils.CurrentUserContext;
|
import top.xyquan.ecomdmbbackend.utils.CurrentUserContext;
|
||||||
import org.slf4j.Logger;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
@@ -58,8 +56,6 @@ import java.util.stream.Collectors;
|
|||||||
@Service
|
@Service
|
||||||
public class OrderServiceImpl extends ServiceImpl<OrderMapper, OrderPO> implements OrderService {
|
public class OrderServiceImpl extends ServiceImpl<OrderMapper, OrderPO> implements OrderService {
|
||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(OrderServiceImpl.class);
|
|
||||||
|
|
||||||
private final CurrentUserContext currentUserContext;
|
private final CurrentUserContext currentUserContext;
|
||||||
private final ShopService shopService;
|
private final ShopService shopService;
|
||||||
private final ProductService productService;
|
private final ProductService productService;
|
||||||
|
|||||||
-2
@@ -403,8 +403,6 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, ProductPO> im
|
|||||||
throw new BusinessException("该 SKU 已属于当前商品");
|
throw new BusinessException("该 SKU 已属于当前商品");
|
||||||
}
|
}
|
||||||
|
|
||||||
Long fromProductId = sku.getProductId();
|
|
||||||
|
|
||||||
LambdaQueryWrapper<ProductSkuPO> nameW = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<ProductSkuPO> nameW = new LambdaQueryWrapper<>();
|
||||||
nameW.eq(ProductSkuPO::getProductId, productId)
|
nameW.eq(ProductSkuPO::getProductId, productId)
|
||||||
.eq(ProductSkuPO::getCompanyId, companyId)
|
.eq(ProductSkuPO::getCompanyId, companyId)
|
||||||
|
|||||||
Reference in New Issue
Block a user