@Transactional(readOnly=true)
public String comboxTreeGroup() throws Exception{
String data=null;
JSONArray jsons =builderComboTree(0);
data=jsons.toString();
return data;
}
@Transactional(readOnly=true)
public JSONArray builderComboTree(int parentid)throws Exception{
JSONArray jsons= new JSONArray();
JSONObject json=null;
String sql="select id,g_name text,g_parent from permission_groups where g_status=0 and g_parent=?";
List