Commit 1cadf7ce by wqc

大屏添加日期筛选

parent 376e700f
...@@ -108,11 +108,6 @@ public class BigScreenController { ...@@ -108,11 +108,6 @@ public class BigScreenController {
return ResultVo.success(bigScreenService.getbazlNums(pcNo)); return ResultVo.success(bigScreenService.getbazlNums(pcNo));
} }
@ApiOperation("取保候审案件长期未结列表")
@GetMapping(value = "/getQbhsajcqwjList")
public ResultVo getQbhsajcqwjList() throws SQLException {
return ResultVo.success(bigScreenService.getQbhsajcqwjList());
}
@ApiOperation("模型类型") @ApiOperation("模型类型")
@GetMapping(value = "/getProxyType") @GetMapping(value = "/getProxyType")
...@@ -135,26 +130,26 @@ public class BigScreenController { ...@@ -135,26 +130,26 @@ public class BigScreenController {
@ApiOperation("质量指标") @ApiOperation("质量指标")
@GetMapping(value = "/getZhiBiaoData") @GetMapping(value = "/getZhiBiaoData")
public ResultVo getZhiBiaoData(@RequestParam String diqu,String type) throws SQLException { public ResultVo getZhiBiaoData(@RequestParam String diqu,String type,String pcNo) throws SQLException {
return ResultVo.success(bigScreenService.getZhiBiaoData(diqu,type)); return ResultVo.success(bigScreenService.getZhiBiaoData(diqu,type,pcNo));
} }
@ApiOperation("法律监督") @ApiOperation("法律监督")
@GetMapping(value = "/getJianDuData") @GetMapping(value = "/getJianDuData")
public ResultVo getJianDuData(@RequestParam String diqu,String type) throws SQLException { public ResultVo getJianDuData(@RequestParam String diqu,String type,String pcNo) throws SQLException {
return ResultVo.success(bigScreenService.getJianDuData(diqu,type)); return ResultVo.success(bigScreenService.getJianDuData(diqu,type,pcNo));
} }
@ApiOperation("重大敏感案件跟踪情况") @ApiOperation("重大敏感案件跟踪情况")
@GetMapping(value = "/getZdmgajData") @GetMapping(value = "/getZdmgajData")
public ResultVo getZdmgajData(@RequestParam String diqu) throws SQLException { public ResultVo getZdmgajData(@RequestParam String diqu,String pcNo) throws SQLException {
return ResultVo.success(bigScreenService.getZdmgajData(diqu)); return ResultVo.success(bigScreenService.getZdmgajData(diqu,pcNo));
} }
@ApiOperation("办理群众来信情况") @ApiOperation("办理群众来信情况")
@GetMapping(value = "/getBlqzlxData") @GetMapping(value = "/getBlqzlxData")
public ResultVo getBlqzlxData(@RequestParam String diqu) throws SQLException { public ResultVo getBlqzlxData(@RequestParam String diqu,String pcNo) throws SQLException {
return ResultVo.success(bigScreenService.getBlqzlxData(diqu)); return ResultVo.success(bigScreenService.getBlqzlxData(diqu,pcNo));
} }
@ApiOperation("38项案件质量主要评价指标") @ApiOperation("38项案件质量主要评价指标")
...@@ -165,14 +160,14 @@ public class BigScreenController { ...@@ -165,14 +160,14 @@ public class BigScreenController {
@ApiOperation("取保案件长期未结") @ApiOperation("取保案件长期未结")
@GetMapping(value = "/getQbajcqwj") @GetMapping(value = "/getQbajcqwj")
public ResultVo getQbajcqwj(@RequestParam String diqu) throws SQLException { public ResultVo getQbajcqwj(@RequestParam String diqu,String pcNo) throws SQLException {
return ResultVo.success(bigScreenService.getQbajcqwj(diqu)); return ResultVo.success(bigScreenService.getQbajcqwj(diqu, pcNo));
} }
@ApiOperation("久诉未判案件列表") @ApiOperation("久诉未判案件列表")
@GetMapping(value = "/getJswpajlb") @GetMapping(value = "/getJswpajlb")
public ResultVo getJswpajlb(@RequestParam String diqu) throws SQLException { public ResultVo getJswpajlb(@RequestParam String diqu,String pcNo) throws SQLException {
return ResultVo.success(bigScreenService.getJswpajlb(diqu)); return ResultVo.success(bigScreenService.getJswpajlb(diqu,pcNo));
} }
......
...@@ -31,25 +31,23 @@ public interface BigScreenService { ...@@ -31,25 +31,23 @@ public interface BigScreenService {
Object getbazlNums(String pcNo) throws SQLException; Object getbazlNums(String pcNo) throws SQLException;
Object getQbhsajcqwjList() throws SQLException;
Object getProxyType() throws SQLException; Object getProxyType() throws SQLException;
Object getCityArea(); Object getCityArea();
Object getPingTaiData() throws SQLException; Object getPingTaiData() throws SQLException;
Object getZhiBiaoData(String diqu, String type) throws SQLException; Object getZhiBiaoData(String diqu, String type,String pcNo) throws SQLException;
Object getJianDuData(String diqu, String type) throws SQLException; Object getJianDuData(String diqu, String type,String pcNo) throws SQLException;
Object getZdmgajData(String diqu) throws SQLException; Object getZdmgajData(String diqu,String pcNo) throws SQLException;
Object getBlqzlxData(String diqu) throws SQLException; Object getBlqzlxData(String diqu,String pcNo) throws SQLException;
Object getZlzypjzb(String diqu,String type) throws SQLException; Object getZlzypjzb(String diqu,String type) throws SQLException;
Object getQbajcqwj(String diqu) throws SQLException; Object getQbajcqwj(String diqu,String pcNo) throws SQLException;
Object getJswpajlb(String diqu) throws SQLException; Object getJswpajlb(String diqu,String pcNo) throws SQLException;
} }
...@@ -365,18 +365,11 @@ public class BigScreenServiceImpl implements BigScreenService { ...@@ -365,18 +365,11 @@ public class BigScreenServiceImpl implements BigScreenService {
public Object getbazlNums(String pcNo) throws SQLException { public Object getbazlNums(String pcNo) throws SQLException {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("queryName", "办案总量"); body.put("queryName", "办案总量");
body.put("pcNo","'" + pcNo + "'"); body.put("pcNo", "'" + pcNo + "'");
List<Map<String, Object>> mapList = CommonQuery(body); List<Map<String, Object>> mapList = CommonQuery(body);
return mapList; return mapList;
} }
@Override
public Object getQbhsajcqwjList() throws SQLException {
Map<String, Object> body = new HashMap<>();
body.put("queryName", "取保候审案件长期未结列表");
List<Map<String, Object>> mapList = CommonQuery(body);
return mapList;
}
@Override @Override
public Object getBacxData() throws SQLException { public Object getBacxData() throws SQLException {
...@@ -425,18 +418,20 @@ public class BigScreenServiceImpl implements BigScreenService { ...@@ -425,18 +418,20 @@ public class BigScreenServiceImpl implements BigScreenService {
} }
@Override @Override
public Object getZhiBiaoData(String diqu, String type) throws SQLException { public Object getZhiBiaoData(String diqu, String type, String pcNo) throws SQLException {
List<Map<String, Object>> mapList = null; List<Map<String, Object>> mapList = null;
if (diqu == null || diqu.equals("")) { if (diqu == null || diqu.equals("")) {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("diqu", "'" + diqu + "'"); body.put("diqu", "'" + diqu + "'");
body.put("type", "'" + type + "'"); body.put("type", "'" + type + "'");
// body.put("pcNo", "'" + pcNo + "'");
body.put("queryName", "质量指标1"); body.put("queryName", "质量指标1");
mapList = CommonQuery(body); mapList = CommonQuery(body);
} else { } else {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("diqu", "'" + diqu + "'"); body.put("diqu", "'" + diqu + "'");
body.put("type", "'" + type + "'"); body.put("type", "'" + type + "'");
// body.put("pcNo", "'" + pcNo + "'");
body.put("queryName", "质量指标2"); body.put("queryName", "质量指标2");
mapList = CommonQuery(body); mapList = CommonQuery(body);
} }
...@@ -444,10 +439,11 @@ public class BigScreenServiceImpl implements BigScreenService { ...@@ -444,10 +439,11 @@ public class BigScreenServiceImpl implements BigScreenService {
} }
@Override @Override
public Object getJianDuData(String diqu, String type) throws SQLException { public Object getJianDuData(String diqu, String type, String pcNo) throws SQLException {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("diqu", "'" + diqu + "'"); body.put("diqu", "'" + diqu + "'");
body.put("type", "'" + type + "'"); body.put("type", "'" + type + "'");
body.put("pcNo", "'" + pcNo + "'");
List<Map<String, Object>> mapList = null; List<Map<String, Object>> mapList = null;
if (diqu == null || diqu.equals("")) { if (diqu == null || diqu.equals("")) {
body.put("queryName", "法律监督1"); body.put("queryName", "法律监督1");
...@@ -463,35 +459,39 @@ public class BigScreenServiceImpl implements BigScreenService { ...@@ -463,35 +459,39 @@ public class BigScreenServiceImpl implements BigScreenService {
} }
@Override @Override
public Object getZdmgajData(String diqu) throws SQLException { public Object getZdmgajData(String diqu, String pcNo) throws SQLException {
ArrayList<Object> list = new ArrayList<>(); ArrayList<Object> list = new ArrayList<>();
Map<String, Object> dataMap = new HashMap<>(); Map<String, Object> dataMap = new HashMap<>();
if (diqu !=null) { if (diqu != null) {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("diqu", "'" + diqu + "'"); body.put("diqu", "'" + diqu + "'");
body.put("pcNo", "'" + pcNo + "'");
body.put("queryName", "重大敏感案件类型"); body.put("queryName", "重大敏感案件类型");
List<Map<String, Object>> mapList = CommonQuery(body); List<Map<String, Object>> mapList = CommonQuery(body);
dataMap.put("zdmgajlx", mapList); dataMap.put("zdmgajlx", mapList);
Map<String, Object> body2 = new HashMap<>(); Map<String, Object> body2 = new HashMap<>();
body2.put("diqu", "'" + diqu + "'"); body2.put("diqu", "'" + diqu + "'");
body2.put("pcNo", "'" + pcNo + "'");
body2.put("queryName", "关注案件类型"); body2.put("queryName", "关注案件类型");
List<Map<String, Object>> mapList2 = CommonQuery(body2); List<Map<String, Object>> mapList2 = CommonQuery(body2);
dataMap.put("gzajlx", mapList2); dataMap.put("gzajlx", mapList2);
Map<String, Object> body3 = new HashMap<>(); Map<String, Object> body3 = new HashMap<>();
body3.put("diqu", "'" + diqu + "'"); body3.put("diqu", "'" + diqu + "'");
body3.put("pcNo", "'" + pcNo + "'");
body3.put("queryName", "检察业务应用系统案件类别"); body3.put("queryName", "检察业务应用系统案件类别");
List<Map<String, Object>> mapList3 = CommonQuery(body3); List<Map<String, Object>> mapList3 = CommonQuery(body3);
dataMap.put("jcywyyxtajlb", mapList3); dataMap.put("jcywyyxtajlb", mapList3);
Map<String, Object> body4 = new HashMap<>(); Map<String, Object> body4 = new HashMap<>();
body4.put("diqu", "'" + diqu + "'"); body4.put("diqu", "'" + diqu + "'");
body4.put("pcNo", "'" + pcNo + "'");
body4.put("queryName", "检察环节审结处理结果"); body4.put("queryName", "检察环节审结处理结果");
List<Map<String, Object>> mapList4 = CommonQuery(body4); List<Map<String, Object>> mapList4 = CommonQuery(body4);
dataMap.put("jchjsjcljg", mapList4); dataMap.put("jchjsjcljg", mapList4);
}else { } else {
return "diqu为空"; return "diqu为空";
} }
list.add(dataMap); list.add(dataMap);
...@@ -500,22 +500,23 @@ public class BigScreenServiceImpl implements BigScreenService { ...@@ -500,22 +500,23 @@ public class BigScreenServiceImpl implements BigScreenService {
} }
@Override @Override
public Object getBlqzlxData(String diqu) throws SQLException { public Object getBlqzlxData(String diqu,String pcNo) throws SQLException {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("diqu","'" + diqu + "'"); body.put("diqu", "'" + diqu + "'");
List<Map<String, Object>> mapList =null; body.put("pcNo", "'" + pcNo + "'");
if (diqu!=null&&diqu.equals("")) { List<Map<String, Object>> mapList = null;
body.put("queryName","办理群众来信情况1"); if (diqu != null && !diqu.equals("")) {
mapList=CommonQuery(body); body.put("queryName", "办理群众来信情况1");
}else{ mapList = CommonQuery(body);
body.put("queryName","办理群众来信情况2"); } else {
mapList=CommonQuery(body); body.put("queryName", "办理群众来信情况2");
mapList = CommonQuery(body);
} }
return mapList; return mapList;
} }
@Override @Override
public Object getZlzypjzb(String diqu,String type) throws SQLException { public Object getZlzypjzb(String diqu, String type) throws SQLException {
List<Map<String, Object>> mapList = null; List<Map<String, Object>> mapList = null;
if (diqu == null || diqu.equals("")) { if (diqu == null || diqu.equals("")) {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
...@@ -534,31 +535,33 @@ public class BigScreenServiceImpl implements BigScreenService { ...@@ -534,31 +535,33 @@ public class BigScreenServiceImpl implements BigScreenService {
} }
@Override @Override
public Object getQbajcqwj(String diqu) throws SQLException { public Object getQbajcqwj(String diqu, String pcNo) throws SQLException {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("diqu","'" + diqu + "'"); body.put("diqu", "'" + diqu + "'");
List<Map<String, Object>> mapList =null; body.put("pcNo", "'" + pcNo + "'");
if (diqu!=null&&diqu.equals("")) { List<Map<String, Object>> mapList = null;
body.put("queryName","取保案件长期未结1"); if (diqu != null && !diqu.equals("")) {
mapList=CommonQuery(body); body.put("queryName", "取保案件长期未结1");
}else{ mapList = CommonQuery(body);
body.put("queryName","取保案件长期未结2"); } else {
mapList=CommonQuery(body); body.put("queryName", "取保案件长期未结2");
mapList = CommonQuery(body);
} }
return mapList; return mapList;
} }
@Override @Override
public Object getJswpajlb(String diqu) throws SQLException { public Object getJswpajlb(String diqu,String pcNo) throws SQLException {
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
body.put("diqu","'" + diqu + "'"); body.put("diqu", "'" + diqu + "'");
List<Map<String, Object>> mapList =null; body.put("pcNo", "'" + pcNo + "'");
if (diqu!=null&&diqu.equals("")) { List<Map<String, Object>> mapList = null;
body.put("queryName","久诉未判案件列表1"); if (diqu != null && !diqu.equals("")) {
mapList=CommonQuery(body); body.put("queryName", "久诉未判案件列表1");
}else{ mapList = CommonQuery(body);
body.put("queryName","久诉未判案件列表2"); } else {
mapList=CommonQuery(body); body.put("queryName", "久诉未判案件列表2");
mapList = CommonQuery(body);
} }
return mapList; return mapList;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment