@@ -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