Checkpoint: Refonte majeure du système de rappels : sélection granulaire au niveau des dates de formation individuelles (dateFormationId) au lieu des séquences. Permet de choisir précisément quelles dates d'une séquence recevront un rappel. Interface hiérarchique avec séquences dépliables et checkboxes par date. Scheduler adapté pour traiter date par date.
This commit is contained in:
26
.manus/db/db-query-1767880187887.json
Normal file
26
.manus/db/db-query-1767880187887.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"query": "SELECT rd.*, r.nom as rappel_nom, df.dateDebut \nFROM rappelDates rd \nJOIN rappels r ON rd.rappelId = r.id \nJOIN datesFormation df ON rd.dateFormationId = df.id \nWHERE r.nom = 'Rappel 3';",
|
||||
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT rd.*, r.nom as rappel_nom, df.dateDebut \nFROM rappelDates rd \nJOIN rappels r ON rd.rappelId = r.id \nJOIN datesFormation df ON rd.dateFormationId = df.id \nWHERE r.nom = 'Rappel 3';",
|
||||
"rows": [
|
||||
{
|
||||
"id": "1",
|
||||
"rappelId": "60003",
|
||||
"dateFormationId": "900001",
|
||||
"createdAt": "2026-01-08 13:48:36",
|
||||
"rappel_nom": "Rappel 3",
|
||||
"dateDebut": "2025-11-20 12:48:00"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"rappelId": "60003",
|
||||
"dateFormationId": "480011",
|
||||
"createdAt": "2026-01-08 13:48:36",
|
||||
"rappel_nom": "Rappel 3",
|
||||
"dateDebut": "2026-03-03 14:51:00"
|
||||
}
|
||||
],
|
||||
"messages": [],
|
||||
"stdout": "id\trappelId\tdateFormationId\tcreatedAt\trappel_nom\tdateDebut\n1\t60003\t900001\t2026-01-08 13:48:36\tRappel 3\t2025-11-20 12:48:00\n2\t60003\t480011\t2026-01-08 13:48:36\tRappel 3\t2026-03-03 14:51:00\n",
|
||||
"stderr": "",
|
||||
"execution_time_ms": 160
|
||||
}
|
||||
Reference in New Issue
Block a user