Commit 46af350868f1d8c5d72d31c9eeb726474f4c6761
1 parent
31df0fb3
优化多节点国标级联国标录像查询
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
| ... | ... | @@ -734,7 +734,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { |
| 734 | 734 | .append("<Response>\r\n") |
| 735 | 735 | .append("<CmdType>RecordInfo</CmdType>\r\n") |
| 736 | 736 | .append("<SN>" +recordInfo.getSn() + "</SN>\r\n") |
| 737 | - .append("<DeviceID>" + recordInfo.getChannelId() + "</DeviceID>\r\n") | |
| 737 | + .append("<DeviceID>" + deviceChannel.getChannelId() + "</DeviceID>\r\n") | |
| 738 | 738 | .append("<SumNum>" + recordInfo.getSumNum() + "</SumNum>\r\n"); |
| 739 | 739 | if (recordInfo.getRecordList() == null ) { |
| 740 | 740 | recordXml.append("<RecordList Num=\"0\">\r\n"); |
| ... | ... | @@ -744,7 +744,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { |
| 744 | 744 | for (RecordItem recordItem : recordInfo.getRecordList()) { |
| 745 | 745 | recordXml.append("<Item>\r\n"); |
| 746 | 746 | if (deviceChannel != null) { |
| 747 | - recordXml.append("<DeviceID>" + recordItem.getDeviceId() + "</DeviceID>\r\n") | |
| 747 | + recordXml.append("<DeviceID>" + deviceChannel.getChannelId() + "</DeviceID>\r\n") | |
| 748 | 748 | .append("<Name>" + recordItem.getName() + "</Name>\r\n") |
| 749 | 749 | .append("<StartTime>" + DateUtil.yyyy_MM_dd_HH_mm_ssToISO8601(recordItem.getStartTime()) + "</StartTime>\r\n") |
| 750 | 750 | .append("<EndTime>" + DateUtil.yyyy_MM_dd_HH_mm_ssToISO8601(recordItem.getEndTime()) + "</EndTime>\r\n") | ... | ... |