List<Map<String,Object>>objects=jdbcTemplate.queryForList("SELECT t.`南宁` as shiyuan,t.`线索条` as xiansuo,t.`核查条` as hecha,t.`成案件` as chengan,t.`成案件` as shouli,t.`成案件` as lian,t.`成案线索转化率` as chengan_rate,t.`线索转化率` as xiansuo_rate,t.`挽回损失万` as wanhui,t.`发放救助金万` as fafangjiuzhu,t.`推动建章立制` as jianzhanglizhi FROM bananchengxiao t ");
List<Map<String,Object>>objects=jdbcTemplate.queryForList("SELECT t.`南宁` as shiyuan,t.`线索条` as xiansuo,t.`核查条` as hecha,t.`成案件` as chengan,t.`成案件` as shouli,t.`成案件` as lian,t.`成案线索转化率` as chenganRate,t.`线索转化率` as xiansuoRate,t.`挽回损失万` as wanhui,t.`发放救助金万` as fafangjiuzhu,t.`推动建章立制` as jianzhanglizhi FROM bananchengxiao t ");
returnobjects;
returnobjects;
}
}
...
@@ -308,7 +308,7 @@ public class BigScreenService {
...
@@ -308,7 +308,7 @@ public class BigScreenService {
mapList=jdbcTemplate.queryForList("SELECT cases,piece,case_ratio as caseRatio,unit,cases_name as casesName,piece_name as pieceName ,case_ratio_name as caseRatioName FROM ajzlzypjzbdy WHERE case_ratio_name LIKE CONCAT('%','"+type+"','%')");
}else{
mapList=jdbcTemplate.queryForList("SELECT cases,piece,case_ratio as caseRatio,unit,cases_name as casesName,piece_name as pieceName ,case_ratio_name as caseRatioName FROM ajzlzypjzbdy WHERE unit LIKE CONCAT('%','"+diqu+"','%') AND case_ratio_name LIKE CONCAT('%','"+type+"','%')");