ref: 多core表结构和代码调整修改

This commit is contained in:
TsMask
2025-06-10 17:50:54 +08:00
parent c7501a952d
commit cfe6ab61e3
189 changed files with 2159 additions and 3195 deletions

View File

@@ -208,17 +208,17 @@ type NeInfo struct {
func XormGetNeInfo(neType string, neId string) (*NeInfo, error) {
log.Debug("XormGetNeInfo processing... ")
neInfox := neService.NewNeInfo.FindByNeTypeAndNeID(neType, neId)
neInfox := neService.NewNeInfo.FindByCoreUidAndNeUid(neType, neId)
neInfo := new(NeInfo)
neInfo.NeType = neType
neInfo.NeId = neId
neInfo.RmUID = neInfox.RmUID
neInfo.RmUID = neInfox.NeType
neInfo.NeName = neInfox.NeName
neInfo.Ip = neInfox.IP
neInfo.Ip = neInfox.IPAddr
neInfo.Port = fmt.Sprint(neInfox.Port)
neInfo.PvFlag = neInfox.PvFlag
neInfo.NeAddress = neInfox.NeAddress
neInfo.NeAddress = neInfox.MacAddr
neInfo.Province = neInfox.Province
neInfo.VendorName = neInfox.VendorName
neInfo.Dn = neInfox.Dn