|
|
|
@ -115,6 +115,7 @@ public class MetaImpUserModelInfoController extends BaseController {
|
|
|
|
|
LocalDateTime now = LocalDateTime.now();
|
|
|
|
|
LocalDateTime minusDay = now.minusDays(1);
|
|
|
|
|
QueryWrapper<MetaImpUserModelInfo> metaImpUserModelInfoQueryWrapper = new QueryWrapper<>();
|
|
|
|
|
// metaImpUserModelInfoQueryWrapper.groupBy("data_type");
|
|
|
|
|
metaImpUserModelInfoQueryWrapper.in("sign_police_code", strings);
|
|
|
|
|
metaImpUserModelInfoQueryWrapper.between("warning_time", formatter.format(minusDay), formatter.format(now));
|
|
|
|
|
List<MetaImpUserModelInfo> list = metaImpUserModelInfoService.list(metaImpUserModelInfoQueryWrapper);
|
|
|
|
@ -131,28 +132,87 @@ public class MetaImpUserModelInfoController extends BaseController {
|
|
|
|
|
metaImpUserModelInfoVO.setWarningTime(metaImpUserModelInfo.getWarningTime());
|
|
|
|
|
metaImpUserModelInfoVO.setDataId(metaImpUserModelInfo.getId());
|
|
|
|
|
metaImpUserModelInfoVO.setType("重点人员");
|
|
|
|
|
HashMap<String, String> map = new HashMap<>();
|
|
|
|
|
if (Objects.equals(metaImpUserModelInfo.getDataType(), "101003")) {
|
|
|
|
|
metaImpUserModelInfoVO.setValue(metaImpUserModelInfo.getValue3());
|
|
|
|
|
metaImpUserModelInfoVO.setSubType("人脸抓拍");
|
|
|
|
|
if (metaImpUserModelInfo.getKey1()!=null && metaImpUserModelInfo.getValue1()!=null) {
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey1(), metaImpUserModelInfo.getValue1());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getSignPoliceStation()!=null) {
|
|
|
|
|
map.put("接收单位", metaImpUserModelInfo.getSignPoliceStation());
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVO.setKV(map);
|
|
|
|
|
}
|
|
|
|
|
if (Objects.equals(metaImpUserModelInfo.getDataType(), "060001")) {
|
|
|
|
|
metaImpUserModelInfoVO.setValue(metaImpUserModelInfo.getValue4());
|
|
|
|
|
metaImpUserModelInfoVO.setSubType("车辆抓拍");
|
|
|
|
|
if (metaImpUserModelInfo.getKey1()!=null && metaImpUserModelInfo.getValue1()!=null) {
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey1(), metaImpUserModelInfo.getValue1());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getSignPoliceStation()!=null) {
|
|
|
|
|
map.put("接收单位", metaImpUserModelInfo.getSignPoliceStation());
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVO.setKV(map);
|
|
|
|
|
}
|
|
|
|
|
if (Objects.equals(metaImpUserModelInfo.getDataType(), "500002")) {
|
|
|
|
|
metaImpUserModelInfoVO.setSubType("技侦定位");
|
|
|
|
|
if (metaImpUserModelInfo.getKey2()!=null && metaImpUserModelInfo.getValue2()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey2(), metaImpUserModelInfo.getValue2());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey5()!=null && metaImpUserModelInfo.getValue5()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey5(), metaImpUserModelInfo.getValue5());
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVO.setKV(map);
|
|
|
|
|
}
|
|
|
|
|
if (Objects.equals(metaImpUserModelInfo.getDataType(), "100086")) {
|
|
|
|
|
metaImpUserModelInfoVO.setSubType("汽车客运");
|
|
|
|
|
if (metaImpUserModelInfo.getKey1()!=null && metaImpUserModelInfo.getValue1()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey1(), metaImpUserModelInfo.getValue1());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey2()!=null && metaImpUserModelInfo.getValue2()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey2(), metaImpUserModelInfo.getValue2());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey4()!=null && metaImpUserModelInfo.getValue4()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey4(), metaImpUserModelInfo.getValue4());
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVO.setKV(map);
|
|
|
|
|
}
|
|
|
|
|
if (Objects.equals(metaImpUserModelInfo.getDataType(), "900018")) {
|
|
|
|
|
metaImpUserModelInfoVO.setSubType("民航进港");
|
|
|
|
|
if (metaImpUserModelInfo.getKey1()!=null && metaImpUserModelInfo.getValue1()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey1(), metaImpUserModelInfo.getValue1());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey2()!=null && metaImpUserModelInfo.getValue2()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey2(), metaImpUserModelInfo.getValue2());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey4()!=null && metaImpUserModelInfo.getValue4()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey4(), metaImpUserModelInfo.getValue4());
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVO.setKV(map);
|
|
|
|
|
}
|
|
|
|
|
if (Objects.equals(metaImpUserModelInfo.getDataType(), "102011")) {
|
|
|
|
|
metaImpUserModelInfoVO.setSubType("铁路订票");
|
|
|
|
|
if (metaImpUserModelInfo.getKey1()!=null && metaImpUserModelInfo.getValue1()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey1(), metaImpUserModelInfo.getValue1());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey2()!=null && metaImpUserModelInfo.getValue2()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey2(), metaImpUserModelInfo.getValue2());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey5()!=null && metaImpUserModelInfo.getValue5()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey5(), metaImpUserModelInfo.getValue5());
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVO.setKV(map);
|
|
|
|
|
}
|
|
|
|
|
if (Objects.equals(metaImpUserModelInfo.getDataType(), "101005")) {
|
|
|
|
|
metaImpUserModelInfoVO.setSubType("旅馆住宿");
|
|
|
|
|
if (metaImpUserModelInfo.getKey1()!=null && metaImpUserModelInfo.getValue1()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey1(), metaImpUserModelInfo.getValue1());
|
|
|
|
|
}
|
|
|
|
|
if (metaImpUserModelInfo.getKey3()!=null && metaImpUserModelInfo.getValue3()!=null){
|
|
|
|
|
map.put(metaImpUserModelInfo.getKey3(), metaImpUserModelInfo.getValue3());
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVO.setKV(map);
|
|
|
|
|
}
|
|
|
|
|
metaImpUserModelInfoVOS.add(metaImpUserModelInfoVO);
|
|
|
|
|
|
|
|
|
|