2 Commity ab0eae2a1e ... 48ab4837b9

Autor SHA1 Wiadomość Data
  dudm 48ab4837b9 Merge remote-tracking branch 'origin/master' 3 lat temu
  dudm 44decca444 初始化流程图接口增加日志明细 3 lat temu

+ 4 - 0
flowable/src/main/java/com/huyi/flowable/controller/ApiController.java

@@ -296,12 +296,16 @@ public class ApiController {
                 String xml_template_url = configMapper.querySysConfig("xml_template_url").get("value");
                 //源文件地址
                 String filePath = xml_template_url.concat("template.bpmn20.xml");
+                System.out.println("源文件地址:" + filePath);
                 //目标文件地址
                 String newFilePath = xml_template_url.concat(papBusinessName + ".bpmn20.xml");
+                System.out.println("目标文件地址:" + newFilePath);
                 // 1、创建 File 对象,映射 XML 文件
                 File file = new File(filePath);
+                System.out.println("源文件是否存在:" + file.exists());
                 //流程id
                 String flowKey = UUID.randomUUID().toString();
+                System.out.println("流程的key:" + flowKey);
                 ProcessDefinition processDefinition;
                 processDefinition = repositoryService.createProcessDefinitionQuery().processDefinitionKey(flowKey).singleResult();
                 // 与其他流程的key重复