Commit bfcb6fd3 by shiwenbo

修改预警发消息时的participantType,当接收人是场站账号时需要写成stationPerson。

parent bc981882
......@@ -230,7 +230,11 @@ public class BaseBusinessWarn {
for (String person : noticePerson) {
JSONObject part = new JSONObject();
part.put("participateId", person);
part.put("participateType", "person");
if(lookType.equals("RetailInfo")) {
part.put("participateType", "stationPerson");
} else {
part.put("participateType", "person");
}
parts.put(part);
}
List<KObject> listRes = new ArrayList<KObject>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment