|
@@ -2,6 +2,7 @@ package com.jiayue.ssi.controller;
|
|
|
|
|
|
import cn.hutool.core.util.NumberUtil;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
+import com.jiayue.ssi.annotation.PreventReplay;
|
|
|
import com.jiayue.ssi.constant.CustomException;
|
|
|
import com.jiayue.ssi.entity.SysAlarm;
|
|
|
import com.jiayue.ssi.service.SysAlarmService;
|
|
@@ -31,6 +32,7 @@ public class SysAlarmController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping(value = "/getAll")
|
|
|
+ @PreventReplay
|
|
|
public ResponseVO getAll() throws CustomException {
|
|
|
try {
|
|
|
QueryWrapper<SysAlarm> wrapper = new QueryWrapper<>();
|
|
@@ -46,6 +48,7 @@ public class SysAlarmController {
|
|
|
* 查收提交
|
|
|
*/
|
|
|
@PostMapping(value = "/readDone")
|
|
|
+ @PreventReplay
|
|
|
public ResponseVO readDone(String id) throws CustomException {
|
|
|
try {
|
|
|
Long commitid;
|