mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 21:47:49 +08:00
Compare commits
4 Commits
0897bd894c
...
bf985d501e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf985d501e | ||
|
|
93724bac98 | ||
|
|
83662f4210 | ||
|
|
8dd624ccd4 |
@ -81,8 +81,6 @@ public class PresetQueryResponseMessageHandler extends SIPRequestProcessorParent
|
||||
}
|
||||
return;
|
||||
}
|
||||
Element sumNumElement = rootElement.element("SumNum");
|
||||
int sumNum = Integer.parseInt(sumNumElement.getText());
|
||||
int num = Integer.parseInt(presetListNumElement.attributeValue("Num"));
|
||||
List<Preset> presetQuerySipReqList = new ArrayList<>();
|
||||
if (num > 0) {
|
||||
@ -103,14 +101,8 @@ public class PresetQueryResponseMessageHandler extends SIPRequestProcessorParent
|
||||
presetQuerySipReqList.add(presetQuerySipReq);
|
||||
}
|
||||
}
|
||||
// if (presetQuerySipReqList.size() == sumNum) {
|
||||
// responseMessageHandler.handMessageEvent(rootElement, presetQuerySipReqList);
|
||||
// }else {
|
||||
// String sn = getText(element, "SN");
|
||||
// addCatch(cmdType + "_" + sn, rootElement, presetQuerySipReqList);
|
||||
// }
|
||||
String sn = getText(element, "SN");
|
||||
addCatch(cmdType + "_" + sn, sumNum, rootElement, presetQuerySipReqList);
|
||||
addCatch(cmdType + "_" + sn, num, rootElement, presetQuerySipReqList);
|
||||
try {
|
||||
responseAck(request, Response.OK);
|
||||
} catch (InvalidArgumentException | ParseException | SipException e) {
|
||||
|
||||
@ -499,6 +499,6 @@ create table IF NOT EXISTS wvp_jt_channel (
|
||||
name character varying(255),
|
||||
update_time character varying(50) not null,
|
||||
create_time character varying(50) not null,
|
||||
constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id)
|
||||
constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id)
|
||||
);
|
||||
|
||||
|
||||
@ -499,6 +499,6 @@ create table IF NOT EXISTS wvp_jt_channel (
|
||||
name character varying(255),
|
||||
update_time character varying(50) not null,
|
||||
create_time character varying(50) not null,
|
||||
constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id)
|
||||
constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id)
|
||||
);
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ create table IF NOT EXISTS wvp_jt_channel (
|
||||
name character varying(255),
|
||||
update_time character varying(50) not null,
|
||||
create_time character varying(50) not null,
|
||||
constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id)
|
||||
constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id)
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
@ -31,7 +31,7 @@ create table IF NOT EXISTS wvp_jt_channel (
|
||||
name character varying(255),
|
||||
update_time character varying(50) not null,
|
||||
create_time character varying(50) not null,
|
||||
constraint uk_jt_device_id_device_id unique (terminal_db_id, channel_id)
|
||||
constraint uk_jt_channel_id_device_id unique (terminal_db_id, channel_id)
|
||||
);
|
||||
|
||||
ALTER table wvp_media_server ADD COLUMN IF NOT EXISTS jtt_proxy_port integer;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user