update
This commit is contained in:
@@ -51,7 +51,7 @@ public class ExperimentDocServiceImpl extends ServiceImpl<ExperimentDocMapper, E
|
|||||||
public String generateExperimentDoc(String experimentId, String fileName, Map<String, Object> params) {
|
public String generateExperimentDoc(String experimentId, String fileName, Map<String, Object> params) {
|
||||||
String absolutePath = templatePath + File.separator + docTempalteMap.get(fileName);
|
String absolutePath = templatePath + File.separator + docTempalteMap.get(fileName);
|
||||||
log.info("doc template path: " + absolutePath);
|
log.info("doc template path: " + absolutePath);
|
||||||
if (FileUtil.exist(absolutePath)) {
|
if (!FileUtil.exist(absolutePath)) {
|
||||||
throw new RuntimeException("模板文件不存在!");
|
throw new RuntimeException("模板文件不存在!");
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user