From edc00f6fbafa9bb74f736e47cafd000fb33ef4f1 Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期一, 28 四月 2025 20:39:00 +0800
Subject: [PATCH] 气体管路
---
aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingRouteStatServiceImpl.java | 2 +-
aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java b/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java
index 115661a..744dd6b 100644
--- a/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java
+++ b/aps-modules/aps-core/src/main/java/com/aps/core/controller/ApsGasPipingRouteStatController.java
@@ -107,7 +107,7 @@
}
@Operation(summary = "璁$畻姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "璁$畻")
- @RequiresPermissions("aps:apsGasPipingRouteStat:computeCapacity")
+
@PostMapping("/computeCapacity")
public void computeCapacity()
{
@@ -115,7 +115,7 @@
}
@Operation(summary = "鑾峰彇姘斾綋绠¤矾浜ц兘璐熻浇缁熻", description = "璁$畻")
- @RequiresPermissions("aps:apsGasPipingRouteStat:getCapacityPlanData")
+
@PostMapping("/getCapacityPlanData")
public AjaxResult getCapacityPlanData(@RequestBody ApsGasPipingRouteStat apsGasPipingRouteStat)
{
diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingRouteStatServiceImpl.java b/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingRouteStatServiceImpl.java
index 59d3d7b..c0cbf3a 100644
--- a/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingRouteStatServiceImpl.java
+++ b/aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsGasPipingRouteStatServiceImpl.java
@@ -255,7 +255,7 @@
searchCapacityPlan.setMajor(apsGasPipingRouteStat.getMajor().equals("gas")?"姘旀煖":"绠¤矾");
if("day".equals(apsGasPipingRouteStat.getSearchType())){
searchCapacityPlan.setYear(yearMonth.getYear()+"");
- searchCapacityPlan.setMonth(yearMonth.getMonth()+"");
+ searchCapacityPlan.setMonth(yearMonth.getMonthValue()+"");
}else if("month".equals(apsGasPipingRouteStat.getSearchType())){
searchCapacityPlan.setYear(yearMonth.getYear()+"");
}
--
Gitblit v1.9.3