Compare commits

...

4 Commits

Author SHA1 Message Date
阿斌
51b21a1a95
Pre Merge pull request !36 from 阿斌/N/A 2025-08-12 04:29:06 +00:00
lin
93724bac98 修复预置位查询空指针 2025-08-12 12:28:51 +08:00
lin
83662f4210 修复数据库索引重复 2025-08-12 11:36:23 +08:00
阿斌
da98101aac
update src/main/resources/civilCode.csv.
行政规划错误。江苏南通海门市,修改为海门区,浙江杭州删除下城区、江干区,新增钱塘区,临平区

Signed-off-by: 阿斌 <38912748@qq.com>
2024-12-15 08:58:42 +00:00
6 changed files with 8 additions and 16 deletions

View File

@ -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) {

View File

@ -861,7 +861,7 @@
320623,如东县,3206
320681,启东市,3206
320682,如皋市,3206
320684,海门,3206
320684,海门,3206
320685,海安市,3206
3207,连云港市,32
320703,连云区,3207
@ -918,8 +918,6 @@
33,浙江省,
3301,杭州市,33
330102,上城区,3301
330103,下城区,3301
330104,江干区,3301
330105,拱墅区,3301
330106,西湖区,3301
330108,滨江区,3301
@ -927,6 +925,8 @@
330110,余杭区,3301
330111,富阳区,3301
330112,临安区,3301
330113,临平区,3301
330114,钱塘区,3301
330122,桐庐县,3301
330127,淳安县,3301
330182,建德市,3301

1 编号 名称 上级
861 320623 如东县 3206
862 320681 启东市 3206
863 320682 如皋市 3206
864 320684 海门市 海门区 3206
865 320685 海安市 3206
866 3207 连云港市 32
867 320703 连云区 3207
918 33 浙江省
919 3301 杭州市 33
920 330102 上城区 3301
330103 下城区 3301
330104 江干区 3301
921 330105 拱墅区 3301
922 330106 西湖区 3301
923 330108 滨江区 3301
925 330110 余杭区 3301
926 330111 富阳区 3301
927 330112 临安区 3301
928 330113 临平区 3301
929 330114 钱塘区 3301
930 330122 桐庐县 3301
931 330127 淳安县 3301
932 330182 建德市 3301

View File

@ -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)
);

View File

@ -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)
);

View File

@ -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)
);
/*

View File

@ -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;