预警信息

develop
hanrenchun 10 months ago
parent 9a3a8165cd
commit ee23b55345

@ -37,7 +37,6 @@ public class MetaImpUserModelInfoController extends BaseController {
// @GetMapping
// @ApiOperation("查询重点人员预警信息详情")
// public TableDataInfo<MetaImpUserModelInfoVO> list(MetaImpUserModelInfoVO metaImpUserModelInfoVO) {
//
// return getDataTable(list);
// }
@ -70,7 +69,15 @@ public class MetaImpUserModelInfoController extends BaseController {
metaImpUserModelInfoVO.setImpUserName(metaImpUserModelInfo.getImpUserName());
metaImpUserModelInfoVO.setImpUserIdCard(metaImpUserModelInfo.getImpUserIdCard());
metaImpUserModelInfoVO.setWarningTime(metaImpUserModelInfo.getWarningTime());
metaImpUserModelInfoVO.setType("重点人员");
if (metaImpUserModelInfo.getDataType() == 101003){
metaImpUserModelInfoVO.setValue(metaImpUserModelInfo.getValue3());
}
if (metaImpUserModelInfo.getDataType() == 060001){
metaImpUserModelInfoVO.setValue(metaImpUserModelInfo.getValue4());
}
metaImpUserModelInfoVOS.add(metaImpUserModelInfoVO);
}
for (TransitHuntersUserModelRecord transitHuntersUserModelRecord : list1){
@ -78,9 +85,11 @@ public class MetaImpUserModelInfoController extends BaseController {
metaImpUserModelInfoVO.setImpUserSubTypeCn(transitHuntersUserModelRecord.getHuntersUserTypeCn());
metaImpUserModelInfoVO.setImpUserName(transitHuntersUserModelRecord.getHuntersUserName());
metaImpUserModelInfoVO.setImpUserIdCard(transitHuntersUserModelRecord.getHuntersUserIdCard());
metaImpUserModelInfoVO.setValue(transitHuntersUserModelRecord.getFirstUserPic());
String warningTime = transitHuntersUserModelRecord.getWarningTime();
LocalDateTime localDateTime = LocalDateTime.parse(warningTime, inputFormatter);
metaImpUserModelInfoVO.setWarningTime(localDateTime.format(formatter));
metaImpUserModelInfoVO.setType("狩猎人员");
metaImpUserModelInfoVOS.add(metaImpUserModelInfoVO);
}
List<MetaImpUserModelInfoVO> infoVOS = metaImpUserModelInfoVOS.stream()

@ -29,4 +29,6 @@ public class MetaImpUserModelInfoVO extends BaseEntity {
private String value;
private String type;
}
Loading…
Cancel
Save