fix: 配置应用的数据读取支持当前操作应用下发

This commit is contained in:
TsMask
2024-07-17 16:48:02 +08:00
parent 60ea5ee87d
commit 3db0f83dcc
2 changed files with 61 additions and 16 deletions

View File

@@ -210,7 +210,7 @@ func (r *PtNeConfigDataService) SelectByStubType(param model.PtNeConfigData) mod
// ApplyToNe 参数应用到网元
func (r *PtNeConfigDataService) ApplyToNe(paramUser, neType string) error {
ptConfs := r.SelectList(model.PtNeConfigData{CreateBy: paramUser, StubType: "2", NeType: neType})
ptConfs := r.SelectList(model.PtNeConfigData{CreateBy: paramUser, NeType: neType})
if len(ptConfs) == 0 {
return fmt.Errorf("NeConfigData Not Found")
}