fix: Récupérer l'opération active depuis la table operations
- Corrige l'erreur SQL 'Unknown column fk_operation in users' - L'opération active est récupérée depuis operations.chk_active = 1 - Jointure avec users pour filtrer par entité de l'admin créateur - Query: SELECT o.id FROM operations o INNER JOIN users u ON u.fk_entite = o.fk_entite WHERE u.id = ? AND o.chk_active = 1
This commit is contained in:
0
app/lib/core/data/models/amicale_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/amicale_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/client_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/client_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/event_stats_model.dart
Normal file → Executable file
0
app/lib/core/data/models/event_stats_model.dart
Normal file → Executable file
0
app/lib/core/data/models/membre_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/membre_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/operation_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/operation_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/passage_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/passage_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/payment_link_result.dart
Normal file → Executable file
0
app/lib/core/data/models/payment_link_result.dart
Normal file → Executable file
0
app/lib/core/data/models/pending_request.dart
Normal file → Executable file
0
app/lib/core/data/models/pending_request.dart
Normal file → Executable file
0
app/lib/core/data/models/pending_request.g.dart
Normal file → Executable file
0
app/lib/core/data/models/pending_request.g.dart
Normal file → Executable file
0
app/lib/core/data/models/region_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/region_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/sector_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/sector_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/user_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/user_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/user_sector_model.g.dart
Normal file → Executable file
0
app/lib/core/data/models/user_sector_model.g.dart
Normal file → Executable file
Reference in New Issue
Block a user