Просмотр исходного кода

Merge branch 'cygx_12.0' into debug

ziwen 1 год назад
Родитель
Сommit
99a4cabfb4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      models/cygx_yanxuan_special_user.go

+ 1 - 1
models/cygx_yanxuan_special_user.go

@@ -105,7 +105,7 @@ func GetYanxuanSpecialAuthorList() (items []*CygxYanxuanSpecialAuthorItem, err e
 FROM
 	cygx_yanxuan_special_author as a
 	INNER JOIN wx_user AS u ON u.user_id = a.user_id
-	INNER JOIN company AS c ON c.company_id = u.company_id ORDER BY create_time DESC `
+	INNER JOIN company AS c ON c.company_id = u.company_id WHERE a.nick_name <> '' ORDER BY create_time DESC `
 	_, err = o.Raw(sql).QueryRows(&items)
 	return
 }