瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_telecomumale into release

tags/V1.3.2
wanjing 1 年之前
父節點
當前提交
b5cc2e8e35
共有 1 個文件被更改,包括 7 次插入3 次删除
  1. +7
    -3
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java

+ 7
- 3
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java 查看文件

@@ -198,10 +198,14 @@ public class DspCallbackServiceImpl implements IDspCallbackService {
//根据questionCode查询问题类型表出对应的id值
QuestionType questionTypeData = null;
if (StringUtils.isNotEmpty(questionFile.getQuestionCode())) {
questionTypeData= questionTypeMapper.selectOne(Wrappers.<QuestionType>lambdaQuery()
questionTypeData = questionTypeMapper.selectOne(Wrappers.<QuestionType>lambdaQuery()
.eq(QuestionType::getCode, questionFile.getQuestionCode())
.eq(QuestionType::getMark, 1));
inspectionFile.setQuestionId(questionTypeData.getId());
.eq(QuestionType::getMark, MarkEnum.VALID.getCode()));
if (ObjectUtil.isNotEmpty(questionTypeData)) {
inspectionFile.setQuestionId(questionTypeData.getId());
} else {
log.error("该问题类型在业务平台不存在,code={}", questionFile.getQuestionCode());
}
}
// 问题名称
inspectionFile.setQuestionName(questionFile.getQuestionName());

Loading…
取消
儲存