String fid = ServletActionContext.getRequest().getParameter("fid");
fid = fid == null ? "ROOT" : fid;
// String sql = "select * from gg_xtgn where fid = '" + fid + "' order by sxh";
String sql = "select id,jdmc,gndz,jdlb,fid from gg_xtgn where fid = :FID order by sxh";
MapSqlParameterSource paramMap = new MapSqlParameterSource();
paramMap.addValue("FID", fid);
return xtgnglService.selectSplit(sql,paramMap,pagination);
}
public String delete() {
String ids = ServletActionContext.getRequest().getParameter("id");