diff --git a/social/src/main/java/com/jiagutech/ams/service/JobServiceImpl.java b/social/src/main/java/com/jiagutech/ams/service/JobServiceImpl.java index 0ef464a..26aa3ee 100644 --- a/social/src/main/java/com/jiagutech/ams/service/JobServiceImpl.java +++ b/social/src/main/java/com/jiagutech/ams/service/JobServiceImpl.java @@ -188,6 +188,8 @@ public class JobServiceImpl implements JobService { } if (requestParam.getStatus() != 0) { queryWrapper.eq("j.status", requestParam.getStatus()); + } else { + queryWrapper.ne("j.status", 3); } if (requestParam.getOperatorId() != 0l) { queryWrapper.eq("j.operator_id", requestParam.getOperatorId()); diff --git a/web/pom.xml b/web/pom.xml index 2bc9869..6f0a9c4 100644 --- a/web/pom.xml +++ b/web/pom.xml @@ -102,6 +102,15 @@ org.springframework.amqp spring-amqp + + org.springframework.boot + spring-boot-starter-actuator + + + + io.micrometer + micrometer-registry-prometheus + ${project.parent.artifactId} diff --git a/web/src/main/resources/application.yml b/web/src/main/resources/application.yml index 2961fc7..ef6bbf2 100644 --- a/web/src/main/resources/application.yml +++ b/web/src/main/resources/application.yml @@ -90,3 +90,20 @@ springdoc: enabled: true +management: + endpoints: + web: + exposure: + include: '*' + endpoint: + shutdown: + enabled: false + health: + show-details: always + +info: + app: ams-social + version: 1.0.0 + java: 17 + author: zhangyeguang + description: 贵州农机监管平台-合作社模块 \ No newline at end of file