This commit is contained in:
ls
2024-11-08 22:28:27 +08:00
parent ccba5be4c4
commit 16f1087c76

View File

@@ -80,7 +80,7 @@ public class ExperimentDocServiceImpl extends ServiceImpl<ExperimentDocMapper, E
experimentDoc.setExperimentId(experimentalId);
experimentDoc.setDocType(type);
experimentDoc.setFilePath(filePath);
this.save(experimentDoc);
this.saveOrUpdate(experimentDoc);
return experimentDoc;
}
return null;