活动清单增加岗位和角色
This commit is contained in:
parent
6df8eb72f9
commit
e4bf4617f3
@ -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<RowMap> 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<RowMap> 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);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user