Переглянути джерело

加注释,修正查询指标数据时的入参

wangchenghong 3 роки тому
батько
коміт
430f03a31c

+ 1 - 1
pom.xml

@@ -70,7 +70,7 @@
             <artifactId>integrated-config-client</artifactId>
         </dependency>
 
-         日志
+        <!--日志-->
         <dependency>
             <groupId>com.persagy</groupId>
             <artifactId>integrated-log-spring-boot-starter</artifactId>

+ 2 - 2
src/main/java/com/persagy/apm/energy/report/manualfilling/service/IManualFilliingService.java

@@ -6,13 +6,13 @@ public interface IManualFilliingService {
 
     /**
      *
-     * @param pjId 项目id
+     * @param pjLocalId 项目本地编码
      * @param indicatorId 指标id
      * @param timeType 查询时间类型(1-日,2-月,3-年,4-无周期(无周期数据跟时间没有关系))
      * @param startDate 开始时间
      * @param endDate 结束时间
      * @return
      */
-    String getIndicatorFillingData(String pjId, String indicatorId, Integer timeType, Date startDate, Date endDate);
+    String getIndicatorFillingData(String pjLocalId, String indicatorId, Integer timeType, Date startDate, Date endDate);
 
 }

+ 2 - 2
src/main/java/com/persagy/apm/energy/report/manualfilling/service/impl/IManualFilliingServiceImpl.java

@@ -21,11 +21,11 @@ public class IManualFilliingServiceImpl implements IManualFilliingService {
     ManualFillingWebClient ManualFillingWebClient;
 
     @Override
-    public String getIndicatorFillingData(String pjId, String indicatorId, Integer timeType, Date reportDate, Date endDate) {
+    public String getIndicatorFillingData(String pjLocalId, String indicatorId, Integer timeType, Date reportDate, Date endDate) {
         String result = "";
         try {
             QueryIndicatorFillingDataDTO queryIndicatorFillingDataDTO = new QueryIndicatorFillingDataDTO();
-            queryIndicatorFillingDataDTO.setProjectId(pjId);
+            queryIndicatorFillingDataDTO.setProjectId(pjLocalId);
             queryIndicatorFillingDataDTO.setIndicatorId(indicatorId);
             queryIndicatorFillingDataDTO.setTimeType(timeType);
             queryIndicatorFillingDataDTO.setStartDate(DateUtils.date2Str(reportDate, DateUtils.SDF_SECOND));