commit
292c36f1c1
|
@ -163,8 +163,9 @@ public class RecordInfoResponseMessageHandler extends SIPRequestProcessorParent
|
||||||
public void releaseRequest(String deviceId, String sn,RecordInfo recordInfo){
|
public void releaseRequest(String deviceId, String sn,RecordInfo recordInfo){
|
||||||
String key = DeferredResultHolder.CALLBACK_CMD_RECORDINFO + deviceId + sn;
|
String key = DeferredResultHolder.CALLBACK_CMD_RECORDINFO + deviceId + sn;
|
||||||
// 对数据进行排序
|
// 对数据进行排序
|
||||||
|
if(recordInfo!=null && recordInfo.getRecordList()!=null) {
|
||||||
Collections.sort(recordInfo.getRecordList());
|
Collections.sort(recordInfo.getRecordList());
|
||||||
|
}
|
||||||
RequestMessage msg = new RequestMessage();
|
RequestMessage msg = new RequestMessage();
|
||||||
msg.setKey(key);
|
msg.setKey(key);
|
||||||
msg.setData(recordInfo);
|
msg.setData(recordInfo);
|
||||||
|
|
Loading…
Reference in New Issue