Merge pull request 'fix bugs' (#55) from devad/pcm-coordinator:master into master
Former-commit-id: 5f5fe61f2b7c9e8c8cb039d9b9df348730a1091c
This commit is contained in:
commit
3279fde8c4
|
@ -35,7 +35,7 @@ func (l *ClusterListLogic) ClusterList(req *types.ClusterReq) (resp *types.PageR
|
|||
db = db.Where("t_cluster.name LIKE ?", "%"+req.Name+"%")
|
||||
}
|
||||
if req.AdapterId != "" {
|
||||
db = db.Where("t_cluster.adapter_id = ?", "%"+req.AdapterId+"%")
|
||||
db = db.Where("t_cluster.adapter_id = ?", req.AdapterId)
|
||||
}
|
||||
if req.Nickname != "" {
|
||||
db = db.Where("t_cluster.nickname LIKE ?", "%"+req.Nickname+"%")
|
||||
|
|
Loading…
Reference in New Issue