From e2c5017787d7fc5eea2afb8bc84bca0db054ad8c Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期三, 09 四月 2025 17:46:36 +0800 Subject: [PATCH] Merge branch 'radio_frequency' of http://114.132.189.42:9002/r/lims-ruoyi-after into radio_frequency --- basic-server/src/main/java/com/ruoyi/basic/service/impl/ProductSupplierDensityServiceImpl.java | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/basic-server/src/main/java/com/ruoyi/basic/service/impl/ProductSupplierDensityServiceImpl.java b/basic-server/src/main/java/com/ruoyi/basic/service/impl/ProductSupplierDensityServiceImpl.java index 54a92ab..fc5f09e 100644 --- a/basic-server/src/main/java/com/ruoyi/basic/service/impl/ProductSupplierDensityServiceImpl.java +++ b/basic-server/src/main/java/com/ruoyi/basic/service/impl/ProductSupplierDensityServiceImpl.java @@ -32,15 +32,6 @@ if (supplierDensity.getProductId() == null) { throw new BaseException("缂哄皯浜у搧瀵硅薄id"); } - // 鏌ヨ鏀瑰巶瀹舵槸鍚︾粦瀹氳繃 -// Long count = baseMapper.selectCount(Wrappers.<ProductSupplierDensity>lambdaQuery() -// .eq(ProductSupplierDensity::getProductId, supplierDensity.getProductId()) -// .eq(ProductSupplierDensity::getModel, supplierDensity) -// .eq(ProductSupplierDensity::getSupplierName, supplierDensity.getSupplierName())); -// if (count > 0){ -// throw new BaseException("璇ヤ骇鍝佸凡缁戝畾杩囪鍘傚"); -// } - baseMapper.insert(supplierDensity); } @@ -49,15 +40,6 @@ if (supplierDensity.getProductId() == null) { throw new BaseException("缂哄皯浜у搧瀵硅薄id"); } - // 鏌ヨ鏀瑰巶瀹舵槸鍚︾粦瀹氳繃 -// Long count = baseMapper.selectCount(Wrappers.<ProductSupplierDensity>lambdaQuery() -// .ne(ProductSupplierDensity::getId, supplierDensity.getId()) -// .eq(ProductSupplierDensity::getProductId, supplierDensity.getProductId()) -// .eq(ProductSupplierDensity::getModel, supplierDensity) -// .eq(ProductSupplierDensity::getSupplierName, supplierDensity.getSupplierName())); -// if (count > 0){ -// throw new BaseException("璇ヤ骇鍝佸凡缁戝畾杩囪鍘傚"); -// } baseMapper.updateById(supplierDensity); } } -- Gitblit v1.9.3