search, code, sysType, parent);
return new MapGridResult(page.getContent(), page.getTotalRow(), null);
}// ;
public IResult queryForm(IRequest request) {
AjaxFormResult result = new AjaxFormResult();
String code = request.get("code");
Role role = null;
if (!CapString.isEmpty(code)) {
role = roleSetService.findRoleByCode(code);
}
if (role != null) {
result.putAll(new AjaxFormResult(role.toJSONObject(
CapEntityUtil.getColumnName(role), null)));
}
return result;
}// ;