作者 kgy

项目部署 算法修改

@@ -393,9 +393,9 @@ public class ProjectServiceImpl implements ProjectService { @@ -393,9 +393,9 @@ public class ProjectServiceImpl implements ProjectService {
393 synthesize_no_3_6.setNo113(0.0D); 393 synthesize_no_3_6.setNo113(0.0D);
394 synthesize_no_3_6.setNo114(0.0D); 394 synthesize_no_3_6.setNo114(0.0D);
395 synthesize_no_3_6.setNo115("0"); 395 synthesize_no_3_6.setNo115("0");
396 - synthesize_no_3_6.setNo116(Double.valueOf(df.format(energySources.getNo2()))); 396 + synthesize_no_3_6.setNo116(Double.valueOf(df.format(synthesizeNo26ServiceById.getNo128())));
397 synthesize_no_3_6.setNo117(0.0D); 397 synthesize_no_3_6.setNo117(0.0D);
398 - synthesize_no_3_6.setNo118(Double.valueOf(df.format(energySources.getNo1()))); 398 + synthesize_no_3_6.setNo118(Double.valueOf(df.format(synthesizeNo26ServiceById.getNo129())));
399 No_3_1Tall_Dto no_3_1Tall_dto = new No_3_1Tall_Dto(); 399 No_3_1Tall_Dto no_3_1Tall_dto = new No_3_1Tall_Dto();
400 /** 400 /**
401 * 总投资 401 * 总投资
@@ -506,7 +506,7 @@ public class ProjectServiceImpl implements ProjectService { @@ -506,7 +506,7 @@ public class ProjectServiceImpl implements ProjectService {
506 * 风电 506 * 风电
507 */ 507 */
508 windAh = synthesize_no_2_4.getWindAh(); 508 windAh = synthesize_no_2_4.getWindAh();
509 - windAll = windAh * cfmData.getNo5(); 509 + windAll = windAh * synthesizeNo26ServiceById.getNo124();
510 synthesize_no_3_6.setNo52(windAll); 510 synthesize_no_3_6.setNo52(windAll);
511 } else if ("3".equals(string)) { 511 } else if ("3".equals(string)) {
512 /** 512 /**
@@ -623,7 +623,7 @@ public class ProjectServiceImpl implements ProjectService { @@ -623,7 +623,7 @@ public class ProjectServiceImpl implements ProjectService {
623 Double num1 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo21() / 10)); 623 Double num1 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo21() / 10));
624 synthesize_no_3_6.setNo37(num1); 624 synthesize_no_3_6.setNo37(num1);
625 no_3_1_1_1Dto.setInvestmentEstimation(format.apply(new BigDecimal(num1))); 625 no_3_1_1_1Dto.setInvestmentEstimation(format.apply(new BigDecimal(num1)));
626 - Double num2 = Double.valueOf(df.format(windAh * cfmData.getNo5() * synthesize_no_2_5.getElectricitySellingPrice() / 10000)); 626 + Double num2 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo124() * synthesize_no_2_5.getElectricitySellingPrice() / 10000));
627 synthesize_no_3_6.setNo25(num2); 627 synthesize_no_3_6.setNo25(num2);
628 no_3_1_1_1Dto.setProjectEarnings(format.apply(new BigDecimal(num2))); 628 no_3_1_1_1Dto.setProjectEarnings(format.apply(new BigDecimal(num2)));
629 Double num3 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo22() * 1000 / 10000)); 629 Double num3 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo22() * 1000 / 10000));
@@ -996,7 +996,7 @@ public class ProjectServiceImpl implements ProjectService { @@ -996,7 +996,7 @@ public class ProjectServiceImpl implements ProjectService {
996 Double num1 = Double.valueOf(df.format(electricBoilerInstalledCapacity * synthesizeNo26ServiceById.getNo37() / 10000)); 996 Double num1 = Double.valueOf(df.format(electricBoilerInstalledCapacity * synthesizeNo26ServiceById.getNo37() / 10000));
997 synthesize_no_3_6.setNo42(num1); 997 synthesize_no_3_6.setNo42(num1);
998 no_3_1_1_1Dto.setInvestmentEstimation(format.apply(new BigDecimal(num1))); 998 no_3_1_1_1Dto.setInvestmentEstimation(format.apply(new BigDecimal(num1)));
999 - Double num2 = Double.valueOf(df.format((heatingIncome - (annualTotalHeatRequirement / synthesizeNo26ServiceById.getNo35() * 3600 / 36000) * energySources.getNo2()) / 10000)); 999 + Double num2 = Double.valueOf(df.format((heatingIncome - (annualTotalHeatRequirement / synthesizeNo26ServiceById.getNo35() * 3600 / 36000) * synthesizeNo26ServiceById.getNo128()) / 10000));
1000 synthesize_no_3_6.setNo30(num2); 1000 synthesize_no_3_6.setNo30(num2);
1001 no_3_1_1_1Dto.setProjectEarnings(format.apply(new BigDecimal(heatingIncome * Double.parseDouble(String.valueOf(jsonObject.get("hotD"))) / 100 / 10000))); 1001 no_3_1_1_1Dto.setProjectEarnings(format.apply(new BigDecimal(heatingIncome * Double.parseDouble(String.valueOf(jsonObject.get("hotD"))) / 100 / 10000)));
1002 Double num3 = 0.0; 1002 Double num3 = 0.0;
@@ -1368,7 +1368,7 @@ public class ProjectServiceImpl implements ProjectService { @@ -1368,7 +1368,7 @@ public class ProjectServiceImpl implements ProjectService {
1368 /** 1368 /**
1369 * 热水系统收益 1369 * 热水系统收益
1370 */ 1370 */
1371 - double hotWaterSystemRevenue = ((totalAnnualTotalHotWaterRequirement * synthesize_no_2_5.getHotWaterSellingPrice() - annualTotalHotWaterRequirement * 0.4 / 0.9 / synthesizeNo26ServiceById.getNo53() * (8 * end + 2 * tall) / 10 - totalAnnualTotalHotWaterRequirement * energySources.getNo1()) / 10000); 1371 + double hotWaterSystemRevenue = ((totalAnnualTotalHotWaterRequirement * synthesize_no_2_5.getHotWaterSellingPrice() - annualTotalHotWaterRequirement * 0.4 / 0.9 / synthesizeNo26ServiceById.getNo53() * (8 * end + 2 * tall) / 10 - totalAnnualTotalHotWaterRequirement * synthesizeNo26ServiceById.getNo129()) / 10000);
1372 java.text.NumberFormat nf = java.text.NumberFormat.getInstance(); 1372 java.text.NumberFormat nf = java.text.NumberFormat.getInstance();
1373 nf.setGroupingUsed(false); 1373 nf.setGroupingUsed(false);
1374 String format2 = nf.format(hotWaterSystemRevenue); 1374 String format2 = nf.format(hotWaterSystemRevenue);
@@ -1646,7 +1646,7 @@ public class ProjectServiceImpl implements ProjectService { @@ -1646,7 +1646,7 @@ public class ProjectServiceImpl implements ProjectService {
1646 /** 1646 /**
1647 * 光伏年发电量 1647 * 光伏年发电量
1648 */ 1648 */
1649 - annualPhotovoltaicPowerGeneration = photovoltaicInstall * cfmData.getNo3(); 1649 + annualPhotovoltaicPowerGeneration = photovoltaicInstall * synthesizeNo26ServiceById.getNo123();
1650 } else { 1650 } else {
1651 /** 1651 /**
1652 * 光伏装机容量=光伏可利用面积*有效铺设量/1000)" 1652 * 光伏装机容量=光伏可利用面积*有效铺设量/1000)"
@@ -1655,7 +1655,7 @@ public class ProjectServiceImpl implements ProjectService { @@ -1655,7 +1655,7 @@ public class ProjectServiceImpl implements ProjectService {
1655 /** 1655 /**
1656 * 光伏年发电量 1656 * 光伏年发电量
1657 */ 1657 */
1658 - annualPhotovoltaicPowerGeneration = photovoltaicInstall * cfmData.getNo3(); 1658 + annualPhotovoltaicPowerGeneration = photovoltaicInstall * synthesizeNo26ServiceById.getNo123();
1659 } 1659 }
1660 } 1660 }
1661 /** 1661 /**
@@ -1667,7 +1667,7 @@ public class ProjectServiceImpl implements ProjectService { @@ -1667,7 +1667,7 @@ public class ProjectServiceImpl implements ProjectService {
1667 /** 1667 /**
1668 * 风电年发量 1668 * 风电年发量
1669 */ 1669 */
1670 - annualWindPowerGeneration = windAh * cfmData.getNo5(); 1670 + annualWindPowerGeneration = windAh * synthesizeNo26ServiceById.getNo124();
1671 } 1671 }
1672 1672
1673 } 1673 }
@@ -2096,7 +2096,6 @@ public class ProjectServiceImpl implements ProjectService { @@ -2096,7 +2096,6 @@ public class ProjectServiceImpl implements ProjectService {
2096 if (org.springframework.util.StringUtils.isEmpty(byId)) { 2096 if (org.springframework.util.StringUtils.isEmpty(byId)) {
2097 byId = synthesize_no_2_6Service.getById("1"); 2097 byId = synthesize_no_2_6Service.getById("1");
2098 } 2098 }
2099 -  
2100 CityDict cityDict = cityDictService.getOne(new QueryWrapper<CityDict>().lambda().eq(CityDict::getName, site)); 2099 CityDict cityDict = cityDictService.getOne(new QueryWrapper<CityDict>().lambda().eq(CityDict::getName, site));
2101 List<Synthesize_no_2_1> synthesize_no_2_1s1 = synthesize_no_2_1Service.list(new QueryWrapper<Synthesize_no_2_1>().lambda().eq(Synthesize_no_2_1::getPid, id));//建筑 2100 List<Synthesize_no_2_1> synthesize_no_2_1s1 = synthesize_no_2_1Service.list(new QueryWrapper<Synthesize_no_2_1>().lambda().eq(Synthesize_no_2_1::getPid, id));//建筑
2102 double electricity = 0.0; 2101 double electricity = 0.0;