ソースを参照

Merge branch 'feature/eta_2.5.6_pb_data_deal' into debug

kobe6258 1 週間 前
コミット
b8485a344c
1 ファイル変更2 行追加0 行削除
  1. 2 0
      services/data/edb_info_relation.go

+ 2 - 0
services/data/edb_info_relation.go

@@ -481,6 +481,8 @@ func GetEdbRelationListByIds(edbIds []int, source int) (total int, list []*data_
 	if len(edbIds) == 0 {
 		return
 	}
+	condition += ` AND e.edb_info_id IN (` + utils.GetOrmInReplace(len(edbIds)) + `)`
+	pars = append(pars, edbIds)
 	list = make([]*data_manage.BaseRelationEdbInfo, 0)
 	// 关联表语句
 	var addFieldStr, joinTableStr string