p-honggang.li
2025-08-28 f0da95925bcb8ad19b0d1cc78afe4b4a4ae188a6
src/main/java/com/webmanage/service/impl/ProductPricingServiceImpl.java
@@ -162,11 +162,8 @@
    }
    @Override
    public List<ProductPricing> getPricingByProductId(Long productId) {
    public List<ProductPricing> getPricingByProductId(String productId) {
        try {
            if (productId == null) {
                throw new BusinessException("产品ID不能为空");
            }
            return baseMapper.selectByProductId(productId);
        } catch (Exception e) {
            log.error("根据产品ID查询定价失败: ", e);