//add by xms 2015年5月11日17:00:24
String whereStr=null;
String isRole="N";
String pk_org=result[2];
String pk_role=SysInitQuery.getParaString("GLOBLE00000000000000", "ER15");
String ckAuthority =SysInitQuery.getParaString("GLOBLE00000000000000", "ER16");
IUserManageQuery iUsermanagerQuery= NCLocator.getInstance().lookup(IUserManageQuery.class);
UserVO[] users=iUsermanagerQuery.queryUserByRole(pk_role, pk_group);
for(UserVO user:users){
if(user.getPrimaryKey().equals(loginUser)){
isRole="Y";
break;
}
}
//add by xms 2015年5月11日17:00:43 end
if(ckAuthority.equals("Y")&&isRole.equals("Y")){
String whereStr=null;
String isRole="N";
String pk_org=result[2];
String pk_role=SysInitQuery.getParaString("GLOBLE00000000000000", "ER15");
String ckAuthority =SysInitQuery.getParaString("GLOBLE00000000000000", "ER16");
IUserManageQuery iUsermanagerQuery= NCLocator.getInstance().lookup(IUserManageQuery.class);
UserVO[] users=iUsermanagerQuery.queryUserByRole(pk_role, pk_group);
for(UserVO user:users){
if(user.getPrimaryKey().equals(loginUser)){
isRole="Y";
break;
}
}
//add by xms 2015年5月11日17:00:43 end
if(ckAuthority.equals("Y")&&isRole.equals("Y")){