/*IEnactmentService wfService = EnactmentServiceProxy.getEnacementService(ctx);
ProcessInstInfo[] processInstances = wfService.getProcessInstanceByHoldedObjectId(info.getId().toString());//不包括已经结束的流程//
if(null != processInstances && processInstances.length > 0){//存在流程
for(int j=0; j<processInstances.length; j++){
throw new EASBizException(new NumericExceptionSubItem("0001","单据:"+info.getNumber()+"已在流程中,不能删除!"));
}
}*/
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交