ref: 多core表结构和代码调整修改
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user