|
@@ -142,7 +142,6 @@ public class MsgAlarmController extends BaseController {
|
|
|
@PostMapping("/listHome")
|
|
|
@Log(title = "首页", businessType = BusinessType.SELECT)
|
|
|
public AjaxResult selectMsgAlarmHome(@RequestBody MsgAlarmVo msgAlarmVo) {
|
|
|
- AtomicReference<Integer> count = new AtomicReference<>(0);
|
|
|
msgAlarmVo = (MsgAlarmVo) dataScoreUtil.setDataScore(getUserId(), msgAlarmVo);
|
|
|
if (!ObjectUtils.isEmpty(msgAlarmVo.getAlarmMile())) {
|
|
|
msgAlarmVo.setAlarmMile(msgAlarmVo.getAlarmMile() * 1000);
|
|
@@ -200,10 +199,6 @@ public class MsgAlarmController extends BaseController {
|
|
|
"泥石流范围为左上角坐标(" + split1[2] + "," + split1[3] + ")" +
|
|
|
"大小" + split1[4] + "×" + split1[5];
|
|
|
o.setAlarmAttr(stringBuilder);
|
|
|
- if (o.getIsLock() == 2) {
|
|
|
- count.getAndSet(count.get() + 1);
|
|
|
- }
|
|
|
- o.setUnlockNum(count.get());
|
|
|
return o;
|
|
|
}).collect(Collectors.toList());
|
|
|
page.setRecords(dto1);
|