活动清单增加it
This commit is contained in:
parent
37ae6b91f9
commit
f5f8cae9b8
@ -111,6 +111,33 @@ public class ViewRefishBeforeEvent implements DataWindowBeforeLoadEventInterface
|
|||||||
if (shapeAttr.get("key").equals("activity_description")) {
|
if (shapeAttr.get("key").equals("activity_description")) {
|
||||||
bo.set("EXTDESC", shapeAttr.getString("value"));
|
bo.set("EXTDESC", shapeAttr.getString("value"));
|
||||||
}
|
}
|
||||||
|
if (shapeAttr.get("key").equals("post")) {
|
||||||
|
String post = "";
|
||||||
|
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'post' and SHAPEID = '" + shape.getString("id") + "'");
|
||||||
|
for (RowMap rowmaps:
|
||||||
|
text) {
|
||||||
|
post+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
||||||
|
}
|
||||||
|
bo.set("POST_NAME",post );
|
||||||
|
}
|
||||||
|
if (shapeAttr.get("key").equals("role")) {
|
||||||
|
String role = "";
|
||||||
|
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'role' and SHAPEID = '" + shape.getString("id") + "'");
|
||||||
|
for (RowMap rowmaps:
|
||||||
|
text) {
|
||||||
|
role+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
||||||
|
}
|
||||||
|
bo.set("ROLE_NAME", role);
|
||||||
|
}
|
||||||
|
if (shapeAttr.get("key").equals("information_systems")){
|
||||||
|
String role = "";
|
||||||
|
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'information_systems' and SHAPEID = '" + shape.getString("id") + "'");
|
||||||
|
for (RowMap rowmaps:
|
||||||
|
text) {
|
||||||
|
role+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
||||||
|
}
|
||||||
|
bo.set("IT_SYSTEM", role);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4575,9 +4575,15 @@ public class ProcessPublishWeb extends ActionWeb {
|
|||||||
System.out.println("执行了吧");
|
System.out.println("执行了吧");
|
||||||
SDK.getBOAPI().removeByBindId("BO_ACT_PAL_PROCESS_MANIFEST",rowMap.getString("BINDID"));
|
SDK.getBOAPI().removeByBindId("BO_ACT_PAL_PROCESS_MANIFEST",rowMap.getString("BINDID"));
|
||||||
}
|
}
|
||||||
SDK.getBOAPI().create("BO_ACT_PAL_PROCESS_MANIFEST", bos, processInst, _uc);
|
for (BO bo:
|
||||||
|
bos) {
|
||||||
|
SDK.getBOAPI().create("BO_ACT_PAL_PROCESS_MANIFEST", bo, processInst, _uc);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
SDK.getBOAPI().create("BO_ACT_PAL_PROCESS_MANIFEST", bos, processInst, _uc);
|
for (BO bo:
|
||||||
|
bos) {
|
||||||
|
SDK.getBOAPI().create("BO_ACT_PAL_PROCESS_MANIFEST", bo, processInst, _uc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return ro.toString();
|
return ro.toString();
|
||||||
}
|
}
|
||||||
@ -4603,6 +4609,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
|||||||
for (int i = 0; i < processLevel.size(); i++) {
|
for (int i = 0; i < processLevel.size(); i++) {
|
||||||
bo.set("L" + (i + 1), processLevel.get(i).getString("PROPERTYVALUE"));
|
bo.set("L" + (i + 1), processLevel.get(i).getString("PROPERTYVALUE"));
|
||||||
}
|
}
|
||||||
|
SDK.getLogAPI().consoleInfo("活动树形ID>>>>>>>>"+shape.getString("id"));
|
||||||
if (shape.containsKey("dataAttributes")) {
|
if (shape.containsKey("dataAttributes")) {
|
||||||
JSONArray dataAttributes = shape.getJSONArray("dataAttributes");
|
JSONArray dataAttributes = shape.getJSONArray("dataAttributes");
|
||||||
if (dataAttributes.size() > 0) {
|
if (dataAttributes.size() > 0) {
|
||||||
@ -4628,22 +4635,31 @@ public class ProcessPublishWeb extends ActionWeb {
|
|||||||
}
|
}
|
||||||
if (shapeAttr.get("key").equals("post")) {
|
if (shapeAttr.get("key").equals("post")) {
|
||||||
String post = "";
|
String post = "";
|
||||||
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'post' and SHAPETEXT = '" + shape.getString("text") + "'");
|
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'post' and SHAPEID = '" + shape.getString("id") + "'");
|
||||||
for (RowMap rowmaps:
|
for (RowMap rowmaps:
|
||||||
text) {
|
text) {
|
||||||
post+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
post+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
||||||
}
|
}
|
||||||
bo.set("POST_NAME",post );
|
bo.set("POST_NAME",post );
|
||||||
}
|
}
|
||||||
if (shapeAttr.get("key").equals("role")) {
|
if (shapeAttr.get("key").equals("role")) {
|
||||||
String role = "";
|
String role = "";
|
||||||
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'role' and SHAPETEXT = '" + shape.getString("text") + "'");
|
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'role' and SHAPEID = '" + shape.getString("id") + "'");
|
||||||
for (RowMap rowmaps:
|
for (RowMap rowmaps:
|
||||||
text) {
|
text) {
|
||||||
role+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
role+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
||||||
}
|
}
|
||||||
bo.set("ROLE_NAME", role);
|
bo.set("ROLE_NAME", role);
|
||||||
}
|
}
|
||||||
|
if (shapeAttr.get("key").equals("information_systems")){
|
||||||
|
String role = "";
|
||||||
|
List<RowMap> text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'information_systems' and SHAPEID = '" + shape.getString("id") + "'");
|
||||||
|
for (RowMap rowmaps:
|
||||||
|
text) {
|
||||||
|
role+=rowmaps.getString("RELATIONSHAPETEXT")+",";
|
||||||
|
}
|
||||||
|
bo.set("IT_SYSTEM", role);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user