|
@@ -388,18 +388,18 @@ public class AlarmRecordController {
|
|
|
|
|
|
@PostMapping("/test")
|
|
|
public void test() {
|
|
|
- AddAlarmRecordDTO addAlarmRecordDTO = new AddAlarmRecordDTO();
|
|
|
- addAlarmRecordDTO.setId("123");
|
|
|
- addAlarmRecordDTO.setTriggerTime(new Date());
|
|
|
- addAlarmRecordDTO.setObjId("123");
|
|
|
- addAlarmRecordDTO.setName("test");
|
|
|
- addAlarmRecordDTO.setItemCode("123");
|
|
|
- addAlarmRecordDTO.setLevel("1");
|
|
|
- try {
|
|
|
- alarmRecordService.create(addAlarmRecordDTO);
|
|
|
- } catch (Exception e) {
|
|
|
- e.printStackTrace();
|
|
|
- }
|
|
|
+// AddAlarmRecordDTO addAlarmRecordDTO = new AddAlarmRecordDTO();
|
|
|
+// addAlarmRecordDTO.setId("123");
|
|
|
+// addAlarmRecordDTO.setTriggerTime(new Date());
|
|
|
+// addAlarmRecordDTO.setObjId("123");
|
|
|
+// addAlarmRecordDTO.setName("test");
|
|
|
+// addAlarmRecordDTO.setItemCode("123");
|
|
|
+// addAlarmRecordDTO.setLevel("1");
|
|
|
+// try {
|
|
|
+// alarmRecordService.create(addAlarmRecordDTO);
|
|
|
+// } catch (Exception e) {
|
|
|
+// e.printStackTrace();
|
|
|
+// }
|
|
|
}
|
|
|
}
|
|
|
|