mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
sonarqube质量修复
This commit is contained in:
+1
-1
@@ -799,7 +799,7 @@ public class WebCadOrderImportAsyncFactory {
|
||||
//批量保存板件
|
||||
// 达到板件数量阈值,停止入库,更新全局参数停止后续入库
|
||||
currentPlateNum += 1;
|
||||
currentPlateArea.add(BigDecimal.valueOf(area));
|
||||
currentPlateArea = currentPlateArea.add(BigDecimal.valueOf(area));
|
||||
if (currentPlateNum > cadImportPlateNumThreshold) {
|
||||
plateNumReachThreshold = true;
|
||||
return;
|
||||
|
||||
+1
-1
@@ -710,7 +710,7 @@ public class WebCadOrderImportFactory {
|
||||
//批量保存板件
|
||||
// 达到板件数量阈值,停止入库,更新全局参数停止后续入库
|
||||
currentPlateNum += 1;
|
||||
currentPlateArea.add(BigDecimal.valueOf(area));
|
||||
currentPlateArea = currentPlateArea.add(BigDecimal.valueOf(area));
|
||||
if (currentPlateNum > cadImportPlateNumThreshold) {
|
||||
plateNumReachThreshold = true;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user