Przeglądaj źródła

保留日志 线上环境

tags/24080901
PoffyZhang 1 rok temu
rodzic
commit
1c6d2a9e5b
2 zmienionych plików z 5 dodań i 4 usunięć
  1. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CockpitStatsStatisticsTask.java
  2. +4
    -4
      pmapi/src/main/resources/application-prod.yml

+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CockpitStatsStatisticsTask.java Wyświetl plik

@@ -544,6 +544,7 @@ public class CockpitStatsStatisticsTask {
List<PerformanceAppraisalProject> performances = performanceAppraisalProjectService.list(Wrappers.lambdaQuery(PerformanceAppraisalProject.class)
.in(CollUtil.isNotEmpty(inAccpetCodes),PerformanceAppraisalProject::getProjectCode, inAccpetCodes)
.in(CollUtil.isEmpty(inAccpetCodes),PerformanceAppraisalProject::getProjectCode, Lists.newArrayList("NONE"))
.eq(PerformanceAppraisalProject::getIsReAppraisal,Boolean.TRUE)
.isNull(PerformanceAppraisalProject::getReAppraisalTotalScore)
);
cockpitStats.setProjectsTotalPerformance(performances.size());


+ 4
- 4
pmapi/src/main/resources/application-prod.yml Wyświetl plik

@@ -110,12 +110,12 @@ log:
path: ./logs
info:
file-size: 50MB
max-size: 5
total-size: 200MB
max-size: 30
total-size: 2048MB
error:
file-size: 10MB
max-size: 5
total-size: 50MB
max-size: 30
total-size: 300MB

swagger:
enabled: true


Ładowanie…
Anuluj
Zapisz