处理制度创建~~自动创建是没有制度图形的情况
This commit is contained in:
parent
efe58c3b5b
commit
03f0114f75
Binary file not shown.
@ -128,7 +128,7 @@ public class WordUtilXWPF {
|
|||||||
elements.put(shapefirst.getString("id"), shapefirst);
|
elements.put(shapefirst.getString("id"), shapefirst);
|
||||||
XWPFDocument doc = new XWPFDocument(inputStream);
|
XWPFDocument doc = new XWPFDocument(inputStream);
|
||||||
JSONArray onlinedata = new JSONArray();
|
JSONArray onlinedata = new JSONArray();
|
||||||
if (shapefirst == null) {
|
if (shapefirst == null || shapefirst.size() == 0) {
|
||||||
JSONObject shapeze = ShapeUtil.getProcessShapeDefinitionByName("control.policy", "regulation");
|
JSONObject shapeze = ShapeUtil.getProcessShapeDefinitionByName("control.policy", "regulation");
|
||||||
String shapeIdz = UUIDGener.getObjectId();
|
String shapeIdz = UUIDGener.getObjectId();
|
||||||
shapeze.put("text", name);//不生效
|
shapeze.put("text", name);//不生效
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user