public List<List<ImportSectionVO>> selectXlxx(String xianbie, String xingbie, Double startMile, Double endMile) { List<List<ImportSectionVO>> res = new ArrayList<>(); List<ImportSectionVO> sqx = baseMapper.selectSqx(xianbie, xingbie, startMile, endMile); List<ImportSectionVO> pqx = baseMapper.selectPqx(xianbie, xingbie, startMile, endMile); List<ImportSectionVO> fhqx = baseMapper.selectFhqx(xianbie, xingbie, startMile, endMile); List<ImportSectionVO> xbjqx = baseMapper.selectSmallRadiusSection(xianbie, xingbie, startMile, endMile);
String name = "复合曲线"; fhqx = filterQd(xbjqx, fhqx, name);
name = "平曲线"; pqx = filterQd(xbjqx, pqx, name); pqx = filterQd(fhqx, pqx, name);
name = "竖曲线"; sqx = filterQd(xbjqx, sqx, name); sqx = filterQd(fhqx, sqx, name); sqx = filterQd(pqx, sqx, name);
List<ImportSectionVO> zxd = new ArrayList<>(); name = "直线段"; zxd.add(new ImportSectionVO(name, startMile, endMile)); filterQd(xbjqx, zxd, name); filterQd(fhqx, zxd, name); filterQd(pqx, zxd, name); filterQd(sqx, zxd, name);
res.add(sqx); res.add(pqx); res.add(fhqx); res.add(xbjqx); res.add(zxd);
return res; }
|