活动清单增加岗位和角色

This commit is contained in:
Mr-wang 2023-08-03 14:45:06 +08:00
parent 6df8eb72f9
commit e4bf4617f3

View File

@ -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);
}
});
}
}