Browse Source

保留日志 线上环境

master
PoffyZhang 1 year ago
parent
commit
1c6d2a9e5b
2 changed files with 5 additions and 4 deletions
  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 View File

@@ -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 View File

@@ -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


Loading…
Cancel
Save