提交 690ca5c5 编写于 作者: zhouweidong's avatar zhouweidong

job部署bpmn

上级 195d9b23
...@@ -513,9 +513,9 @@ public class WFCoreService ...@@ -513,9 +513,9 @@ public class WFCoreService
for (Map.Entry<String,Object> entry : bpmnfile.entrySet()) { for (Map.Entry<String,Object> entry : bpmnfile.entrySet()) {
InputStream in = null; InputStream in = null;
try { try {
in = IOUtils.toInputStream(String.valueOf(entry.getValue()),"utf8"); in = new ByteArrayInputStream(String.valueOf(entry.getValue()).getBytes());
wfdeploy(entry.getKey(), getBpmnFile(in),new WFREModel()); wfdeploy(entry.getKey(), getBpmnFile(in),new WFREModel());
} catch (IOException e) {} } catch (Exception e) {}
finally { finally {
if(in!=null) { if(in!=null) {
try { try {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册