feat: 网元参数配置数据支持版本区分功能

feat(database): add ne_version and schema columns to ne_info table

feat(database): update ne_info table structure in upgrade script

fix(ne_config): handle id as number in Info and Add methods

fix(ne_config): validate neId and fetch neInfo in ListByNeType and DataAdd methods

fix(ne_info): extract version from ServerState in Add and Edit methods

refactor(ne_config): update NeConfig model to include NeVersion

refactor(ne_info): add NeVersion and Schema fields to NeInfo model

test(ne_config): enhance test cases to include version parsing and saving

refactor(ne_config): improve cache handling and querying by NeType and NeVersion

fix(ne_info): update NeInfo version during status change
This commit is contained in:
TsMask
2025-10-17 10:17:07 +08:00
parent 3b053d7f47
commit 8cd86a62d6
18 changed files with 1306 additions and 254 deletions

View File

@@ -611,6 +611,13 @@ smf:
filter: ""
display: "Local IP"
comment: ""
- name: "ntfyEnable"
type: "bool"
value: "false"
access: "read-write"
filter: ""
display: "DHCP Server Ntfy Enable"
comment: ""
dnnselectdhcpserver:
display: "DNN Select DHCP Server"
sort: 23
@@ -644,7 +651,7 @@ smf:
display: "DHCP Server IP"
comment: "e.g. 192.168.1.1"
offlineChargingConfig:
display: "Offline Charging Config"
display: "Charging Config"
sort: 25
list:
- name: "cdrFileName"
@@ -682,12 +689,19 @@ smf:
filter: "0~9999"
display: "CDR File Max Age"
comment: "Days"
- name: "onlineCdrEnable"
type: "bool"
value: "false"
access: "read-write"
filter: ""
display: "Online Charging CDR Enable"
comment: ""
- name: "freeSubsCdrEnable"
type: "bool"
value: "false"
access: "read-write"
filter: ""
display: "Free Subscribers CDR Enable"
display: "Offline Charging CDR Enable"
comment: ""
- name: "timeThreshold"
type: "int"