Browse Source

题目更改

master
yanyan 3 years ago
parent
commit
6ca4c5cbd9
  1. 3
      lib/EmergencyService/zdxtEmergencyKnowledgeService/src/main/java/com/zdxt/knowledge/service/impl/SceneQuestionServiceImpl.java

3
lib/EmergencyService/zdxtEmergencyKnowledgeService/src/main/java/com/zdxt/knowledge/service/impl/SceneQuestionServiceImpl.java

@ -125,10 +125,11 @@ public class SceneQuestionServiceImpl implements ISceneQuestionService {
}
sceneQuestion.setUploadPath(uploadFilePath);
result = sceneQuestionMapper.updateSceneQuestion(sceneQuestion);
zdxtFileCommonApi.deleteZdxtFileByIds(sceneQuestion.getGuid());
//zdxtFileCommonApi.deleteZdxtFileByIds(sceneQuestion.getGuid());
}
// 上传文件,并在附件表中添加记录
if (result > 0 && !ObjectUtil.isEmpty(files)) {
zdxtFileCommonApi.deleteZdxtFileByIds(sceneQuestion.getGuid());
zdxtFileCommonApi.insertZdxtFile(files[0], sceneQuestion.getGuid() + "", uploadFilePath);
return ZDResponse.success();
} else if (result > 0) {

Loading…
Cancel
Save