Browse Source

设置默认值

develop
董书康 1 year ago
parent
commit
ca7fb2086a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/cps/CpsQuestionGetService.java

+ 4
- 0
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/cps/CpsQuestionGetService.java View File

@ -96,6 +96,10 @@ public class CpsQuestionGetService extends AbsEAIService {
break; break;
}*/ }*/
if (StringUtils.isBlank(status)) {
status = "1";
}
switch (option) { switch (option) {
case "1": case "1":
lambdaQuery.eq(CpsQuestionInfo::getStatus1, status); lambdaQuery.eq(CpsQuestionInfo::getStatus1, status);


Loading…
Cancel
Save