develop
Angel 10 months ago
parent bf20aa59fb
commit 58f3b8815e

@ -315,7 +315,6 @@ public class BigScreenController extends BaseController {
metaAlarmInfoAndHandleAlarmVo.setJjxxAlarmResponseTime(dateFormat.format(jjxxAlarmResponse)); metaAlarmInfoAndHandleAlarmVo.setJjxxAlarmResponseTime(dateFormat.format(jjxxAlarmResponse));
} }
alarmVos.add(metaAlarmInfoAndHandleAlarmVo); alarmVos.add(metaAlarmInfoAndHandleAlarmVo);
} }
List<MetaAlarmInfoAndHandleAlarmVo> sortedList = alarmVos.stream() List<MetaAlarmInfoAndHandleAlarmVo> sortedList = alarmVos.stream()
.sorted(Comparator.comparing(MetaAlarmInfoAndHandleAlarmVo::getJjxxInformantTime)) .sorted(Comparator.comparing(MetaAlarmInfoAndHandleAlarmVo::getJjxxInformantTime))

@ -42,7 +42,9 @@ public class DisposalInfoController extends BaseController {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
DateTimeFormatter inputFormatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmss"); DateTimeFormatter inputFormatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmss");
PageUtils.startPage(); PageUtils.startPage();
List<TransitHuntersUserModelRecord> list1 = transitHuntersUserModelRecordService.list(new QueryWrapper<>(modelRecord)); QueryWrapper<TransitHuntersUserModelRecord> queryWrapper = new QueryWrapper<>(modelRecord);
queryWrapper.orderByDesc("warning_time");
List<TransitHuntersUserModelRecord> list1 = transitHuntersUserModelRecordService.list(queryWrapper);
ArrayList<TransitHuntersUserModelRecord> transitHuntersUserModelRecords = new ArrayList<>(); ArrayList<TransitHuntersUserModelRecord> transitHuntersUserModelRecords = new ArrayList<>();
for (TransitHuntersUserModelRecord transitHuntersUserModelRecord :list1){ for (TransitHuntersUserModelRecord transitHuntersUserModelRecord :list1){
Long id = transitHuntersUserModelRecord.getId(); Long id = transitHuntersUserModelRecord.getId();

@ -38,7 +38,7 @@ import java.util.stream.Collectors;
* (TransitUserRecord)Controller * (TransitUserRecord)Controller
* *
* @author makejava * @author makejava
* @since 2023-12-04 14:25:44 * @since 202312-04 14:25:44
*/ */
@Api(tags = "人脸记录表") @Api(tags = "人脸记录表")
@RestController @RestController

Loading…
Cancel
Save