流程发布添加选择流程经理提示
This commit is contained in:
parent
f67e5f89e4
commit
4500661a91
Binary file not shown.
@ -13,6 +13,7 @@ import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UUIDGener;
|
||||
import com.actionsoft.exception.AWSException;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
|
||||
/**
|
||||
@ -66,6 +67,10 @@ public class PublishLoadBefore extends ExecuteListener {
|
||||
// 可以为boData中的字段进行赋值
|
||||
Connection open = DBSql.open();
|
||||
RowMap data = DBSql.getMap(open,"select DEAPRTMNUM,PROCESSMNUMBER from BO_ACT_PROCESSMANAGER where ORGDEPART in ("+substring+")");
|
||||
if(null==data) {
|
||||
throw new AWSException("请配置联系管理员流程经理和流程校对人!");
|
||||
}
|
||||
|
||||
open.close();
|
||||
// RowMap data = DBSql.getMap(String.format("select DEAPRTMNUM,PROCESSMNUMBER from BO_ACT_PROCESSMANAGER where ORGNAME like'%s' and ORGDEPART like'%s'", allpath, allpath));
|
||||
if(data != null&&null!=boData){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user