2 Commits 8bd7bb6a61 ... 4845f47fdf

Autore SHA1 Messaggio Data
  Yi 4845f47fdf system: userDepth update 3 mesi fa
  Yi 8bd7bb6a61 system: userDepth update 3 mesi fa
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      module/backend/enum_options.go

+ 1 - 1
module/backend/enum_options.go

@@ -155,7 +155,7 @@ func (s *StoreEntry) SystemUserOptions(ctx context.Context, depId int) (*pasture
 
 	systemUserList := make([]*model.SystemUser, 0)
 	pref := s.DB.Table(new(model.SystemUser).TableName()).
-		Where("FIND_IN_SET('?',pasture_ids) > ?", userModel.AppPasture.Id).
+		Where("FIND_IN_SET('?',pasture_ids) > ?", userModel.AppPasture.Id, 0).
 		Where("is_delete = ?", pasturePb.IsShow_Ok).
 		Where("is_show =? ", pasturePb.IsShow_Ok)
 	if depId != -1 && depId > 0 {