|
|
@@ -42,16 +42,19 @@ public class StorageController extends BaseController {
|
|
|
StorageRateRes storageRate = new StorageRateRes();
|
|
|
|
|
|
List<LandUseRes> landUseStatisticsList = new java.util.ArrayList<>(List.of()); // 用途分析
|
|
|
+
|
|
|
List<ProjectSupplyRes> projectSupplyList = new java.util.ArrayList<>(List.of()); // 供应方式
|
|
|
- storageRate.setCompleteRate(78);
|
|
|
- storageRate.setPlanProjectCount(15);
|
|
|
- storageRate.setCompleteProjectCount(17);
|
|
|
- storageRate.setPlanArea(788.6f);
|
|
|
- storageRate.setCompleteArea(548.2f);
|
|
|
+ storageRate.setCompleteRate(63 + (int) (Math.random() * 10));
|
|
|
+ storageRate.setPlanProjectCount(33 + (int) (Math.random() * 5));
|
|
|
+ storageRate.setCompleteProjectCount(21 + (int) (Math.random() * 5));
|
|
|
+
|
|
|
+ storageRate.setPlanArea((float) (Math.round((788.6f + (float) (Math.random() * 100)) * 100) / 100.0));
|
|
|
+ storageRate.setCompleteArea((float) (Math.round((548.2f + (float) (Math.random() * 100)) * 100) / 100.0));
|
|
|
storageRate.setGdUnit("亩");
|
|
|
- storageRate.setEstimatedCost(1254.6f);
|
|
|
- storageRate.setExpenditureCost(1000.3f);
|
|
|
+ storageRate.setEstimatedCost(349338.6f);
|
|
|
+ storageRate.setExpenditureCost(109300.3f);
|
|
|
res.setStorageRate(storageRate);
|
|
|
+
|
|
|
// --------------土地用途分析----------------------
|
|
|
|
|
|
LandUseRes landUse1 = new LandUseRes();
|
|
|
@@ -99,17 +102,28 @@ public class StorageController extends BaseController {
|
|
|
} else if (year.equalsIgnoreCase("2025") ) {
|
|
|
StorageRateRes storageRate = new StorageRateRes();
|
|
|
List<LandUseRes> landUseStatisticsList = new java.util.ArrayList<>(List.of()); // 用途分析
|
|
|
+
|
|
|
+
|
|
|
List<ProjectSupplyRes> projectSupplyList = new java.util.ArrayList<>(List.of()); // 供应方式
|
|
|
- storageRate.setCompleteRate(78 + (int) (Math.random() * 10));
|
|
|
- storageRate.setPlanProjectCount(33 + (int) (Math.random() * 5));
|
|
|
- storageRate.setCompleteProjectCount(31 + (int) (Math.random() * 5));
|
|
|
- storageRate.setPlanArea((float) (Math.round((788.6f + (float) (Math.random() * 100)) * 100) / 100.0));
|
|
|
- storageRate.setCompleteArea((float) (Math.round((548.2f + (float) (Math.random() * 100)) * 100) / 100.0));
|
|
|
+ storageRate.setCompleteRate(46);
|
|
|
+ storageRate.setPlanProjectCount(15);
|
|
|
+ storageRate.setCompleteProjectCount(7);
|
|
|
+
|
|
|
+ storageRate.setPlanArea(1788.6f);
|
|
|
+ storageRate.setCompleteArea(445.2f);
|
|
|
storageRate.setGdUnit("亩");
|
|
|
- storageRate.setEstimatedCost(1254.6f);
|
|
|
- storageRate.setExpenditureCost(1000.3f);
|
|
|
+ storageRate.setEstimatedCost(149338.6f);
|
|
|
+ storageRate.setExpenditureCost(89338.3f);
|
|
|
res.setStorageRate(storageRate);
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// --------------土地用途分析----------------------
|
|
|
// 城镇住宅用地,教育用地,商业用地,工业用地,物流仓储用地,公路用地,工业绿地
|
|
|
String[] landTypes = { "城镇住宅用地", "教育用地", "商业用地", "工业用地", "物流仓储用地", "公路用地", "工业绿地" };
|