作者 唐旭辉

bug fix

@@ -517,7 +517,7 @@ func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error) @@ -517,7 +517,7 @@ func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error)
517 ) 517 )
518 cond = append(cond, param.Companyid) 518 cond = append(cond, param.Companyid)
519 if len(param.NickName) > 0 { 519 if len(param.NickName) > 0 {
520 - whereString += ` AND b.nick_name LIKE ? ` 520 + whereString += ` AND a.nick_name LIKE ? `
521 likeCond := "%" + param.NickName + "%" 521 likeCond := "%" + param.NickName + "%"
522 cond = append(cond, likeCond) 522 cond = append(cond, likeCond)
523 } 523 }