🐛 修复清理不活跃成员功能的BUG
This commit is contained in:
@@ -82,7 +82,7 @@ func GetAllEnableNews() (records []entity.Friend, err error) {
|
||||
// @return records
|
||||
// @return err
|
||||
func GetAllEnableClearGroup() (records []entity.Friend, err error) {
|
||||
err = client.MySQL.Where("clear_members != 0").Where("is_ok IS TRUE").Find(&records).Error
|
||||
err = client.MySQL.Where("clear_member > 0").Where("is_ok IS TRUE").Find(&records).Error
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user