|
@@ -1758,6 +1758,7 @@ public class GeoHazardMonitorTokenController {
|
|
preAlarm.setPreAlarmTime(new Date(preAlarmResponse.getPreAlarmTime()));
|
|
preAlarm.setPreAlarmTime(new Date(preAlarmResponse.getPreAlarmTime()));
|
|
preAlarm.setPreAlarmType(preAlarmResponse.getPreAlarmType());
|
|
preAlarm.setPreAlarmType(preAlarmResponse.getPreAlarmType());
|
|
preAlarm.setPreAlarmList(JSON.toJSONString(preAlarmResponse.getPreAlarmList()));
|
|
preAlarm.setPreAlarmList(JSON.toJSONString(preAlarmResponse.getPreAlarmList()));
|
|
|
|
+ preAlarm.setCreatedTime(new Date());
|
|
if (preAlarmService.save(preAlarm)) {
|
|
if (preAlarmService.save(preAlarm)) {
|
|
AjaxResults1 = new AjaxResults(1, "ok");
|
|
AjaxResults1 = new AjaxResults(1, "ok");
|
|
return SM4Utils.encryptData_ECB(JSONObject.toJSONString(AjaxResults1), key);
|
|
return SM4Utils.encryptData_ECB(JSONObject.toJSONString(AjaxResults1), key);
|