fix: 命名网元主机接口类文件名

This commit is contained in:
TsMask
2024-02-26 16:55:36 +08:00
parent b98439fd0b
commit bf506a80af
2 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ func (r *NeHostImpl) SelectList(neHost model.NeHost) []model.NeHost {
var params []any
if neHost.HostType != "" {
conditions = append(conditions, "host_type = ?")
params = append(params, neHost.GroupID)
params = append(params, neHost.HostType)
}
if neHost.GroupID != "" {
conditions = append(conditions, "group_id = ?")