diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java index 916ad9e0..7afb9565 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java @@ -4626,6 +4626,24 @@ public class ProcessPublishWeb extends ActionWeb { if (shapeAttr.get("key").equals("activity_description")) { bo.set("EXTDESC", shapeAttr.getString("value")); } + if (shapeAttr.get("key").equals("post")) { + String post = ""; + List text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'post' and SHAPETEXT = '" + shape.getString("text") + "'"); + for (RowMap rowmaps: + text) { + post+=rowmaps.getString("RELATIONSHAPETEXT")+","; + } + bo.set("POST_NAME",post ); + } + if (shapeAttr.get("key").equals("role")) { + String role = ""; + List text = DBSql.getMaps("select * from APP_ACT_COE_PAL_SHAPE_RLAT where FILEID = '" + publishFileId + "' and attrid = 'role' and SHAPETEXT = '" + shape.getString("text") + "'"); + for (RowMap rowmaps: + text) { + role+=rowmaps.getString("RELATIONSHAPETEXT")+","; + } + bo.set("ROLE_NAME", role); + } }); } }