|
@@ -795,6 +795,9 @@ public class RWDAlarmUtil {
|
|
|
handleJSON.put("state", 2);
|
|
|
}
|
|
|
}
|
|
|
+ if (paramJSON.containsKey("userId")) {
|
|
|
+ handleJSON.put("userId", paramJSON.get("userId"));
|
|
|
+ }
|
|
|
log.warn(Constant.alarm_url + "/alarm-record/handleAlarm" + "\n" + handleJSON.toJSONString());
|
|
|
String post_result = HttpClientUtil.instance("alarm").put(Constant.alarm_url + "/alarm-record/handleAlarm",
|
|
|
handleJSON.toJSONString());
|
|
@@ -857,6 +860,10 @@ public class RWDAlarmUtil {
|
|
|
handleJSON.put("id", paramJSON.get("id"));
|
|
|
handleJSON.put("treatMode", 2);
|
|
|
handleJSON.put("treatState", 2);
|
|
|
+ handleJSON.put("nature", 2);
|
|
|
+ if (paramJSON.containsKey("userId")) {
|
|
|
+ handleJSON.put("userId", paramJSON.get("userId"));
|
|
|
+ }
|
|
|
log.warn(Constant.alarm_url + "/alarm-record/handleAlarm" + "\n" + handleJSON.toJSONString());
|
|
|
String post_result = HttpClientUtil.instance("alarm").put(Constant.alarm_url + "/alarm-record/handleAlarm",
|
|
|
handleJSON.toJSONString());
|