Browse Source

修改根据问题类型修改问题mark值

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
13366208a5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java View File

} }


Map<String, QuestionType> questionTypeMap = getStringQuestionTypeMap(); Map<String, QuestionType> questionTypeMap = getStringQuestionTypeMap();
QuestionType questionType = questionTypeMap.get(inspectionFile.getQuestionCode());
QuestionType questionType = questionTypeMap.get(questionFile.getQuestionCode());
log.info("问题对应的code={}",questionFile.getQuestionCode());
if(0 == questionType.getIsShow()){ if(0 == questionType.getIsShow()){
inspectionFile.setMark(MarkEnum.NOTVALID.getCode()); inspectionFile.setMark(MarkEnum.NOTVALID.getCode());
} }

Loading…
Cancel
Save