消息待办
This commit is contained in:
parent
32fdf4d387
commit
b954114001
|
@ -30,7 +30,7 @@ public class ApprovalBillFormPlugin extends AbstractWorkflowPlugin {
|
|||
Map<String, Object> customParams = this.getView().getFormShowParameter().getCustomParams();
|
||||
String apptype = (String) customParams.get("apptype");//获取应用类型
|
||||
String msgId = (String) customParams.get("msgId");
|
||||
Object processInstanceId = customParams.get("prcid");
|
||||
Object processInstanceId = customParams.get("processInstanceId");
|
||||
if ("waver".equals(apptype) && !Strings.isEmpty(msgId) && processInstanceId != null){//当接口对象为泛微且提供消息对象主键不为空
|
||||
DynamicObject wf_msg_message = BusinessDataServiceHelper.loadSingle(msgId, "wf_msg_message");//获取消息模型对象
|
||||
HashMap<String,Object> map = new HashMap<>();
|
||||
|
@ -45,4 +45,4 @@ public class ApprovalBillFormPlugin extends AbstractWorkflowPlugin {
|
|||
messageListen.sendMessage(map);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ public class UserTreeListPlugin extends kd.bos.sec.user.plugin.UserTreeListPlugi
|
|||
for (int i=childNodes.size()-1;i>=0;i--) {
|
||||
TreeNode childNode = childNodes.get(i);
|
||||
String id = childNode.getId();
|
||||
if("noOrg".equals(id)){
|
||||
if("noOrg".equals(id)||"externalUserType".equals(id)){
|
||||
continue;
|
||||
}
|
||||
QFilter qf = new QFilter("id", QCP.equals, Long.valueOf(id));
|
||||
|
|
Loading…
Reference in New Issue