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