Ver código fonte

保留日志 线上环境

master
PoffyZhang 1 ano atrás
pai
commit
1c6d2a9e5b
2 arquivos alterados com 5 adições e 4 exclusões
  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 Ver arquivo

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

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


Carregando…
Cancelar
Salvar