|
@@ -637,6 +637,9 @@ public final class FanweiCommonUtil {
|
|
content = info.getMessageTitle() == null ? "" : info.getMessageTitle().getLocaleValue_zh_CN();
|
|
content = info.getMessageTitle() == null ? "" : info.getMessageTitle().getLocaleValue_zh_CN();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if(content.indexOf("<br>意见:") >= 0) {
|
|
|
|
+ content = content.substring(content.indexOf("<br>意见:") + 7);
|
|
|
|
+ }
|
|
|
|
|
|
//发送人员
|
|
//发送人员
|
|
Long createUserId = 0L;
|
|
Long createUserId = 0L;
|
|
@@ -647,6 +650,7 @@ public final class FanweiCommonUtil {
|
|
DynamicObject createUser = BusinessDataServiceHelper.loadSingleFromCache(createUserId, "bos_user");
|
|
DynamicObject createUser = BusinessDataServiceHelper.loadSingleFromCache(createUserId, "bos_user");
|
|
String creator = createUser == null ? "" : createUser.getString("number");
|
|
String creator = createUser == null ? "" : createUser.getString("number");
|
|
|
|
|
|
|
|
+
|
|
// String requestname = info.getTitle() + ", 发送人:" + creator + ", " + content;
|
|
// String requestname = info.getTitle() + ", 发送人:" + creator + ", " + content;
|
|
|
|
|
|
String requestname = content;
|
|
String requestname = content;
|
|
@@ -664,7 +668,6 @@ public final class FanweiCommonUtil {
|
|
DynamicObject taskInfo = BusinessDataServiceHelper.loadSingleFromCache(Long.valueOf(messageContext.getString("taskId")), "wf_task");
|
|
DynamicObject taskInfo = BusinessDataServiceHelper.loadSingleFromCache(Long.valueOf(messageContext.getString("taskId")), "wf_task");
|
|
if(taskInfo != null){
|
|
if(taskInfo != null){
|
|
nodename = taskInfo.getString("name");
|
|
nodename = taskInfo.getString("name");
|
|
-
|
|
|
|
if(taskInfo.getLong("processdefinitionid") > 0){
|
|
if(taskInfo.getLong("processdefinitionid") > 0){
|
|
QFilter qFilter = new QFilter("id", QCP.equals, taskInfo.getLong("processdefinitionid"));
|
|
QFilter qFilter = new QFilter("id", QCP.equals, taskInfo.getLong("processdefinitionid"));
|
|
DynamicObject processdef = BusinessDataServiceHelper.loadSingle("wf_processdefinition", qFilter.toArray());
|
|
DynamicObject processdef = BusinessDataServiceHelper.loadSingle("wf_processdefinition", qFilter.toArray());
|