From ca7fb2086ae462b400925ebc131736bf168cd952 Mon Sep 17 00:00:00 2001 From: dongsk Date: Sun, 2 Jul 2023 12:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../digiwin/athena/app/service/cps/CpsQuestionGetService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/cps/CpsQuestionGetService.java b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/cps/CpsQuestionGetService.java index ad318ca..d8a475d 100644 --- a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/cps/CpsQuestionGetService.java +++ b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/cps/CpsQuestionGetService.java @@ -96,6 +96,10 @@ public class CpsQuestionGetService extends AbsEAIService { break; }*/ + if (StringUtils.isBlank(status)) { + status = "1"; + } + switch (option) { case "1": lambdaQuery.eq(CpsQuestionInfo::getStatus1, status);