Changes between Version 1 and Version 2 of IssuingCertificate
- Timestamp:
- 01/22/26 03:52:58 (15 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IssuingCertificate
v1 v2 3 3 ==== Actors: **System (automatic)** 4 4 5 **1.** The user successfully completes the course.5 **1.** Course Completion Verification. 6 6 7 **2.** The system generates and stores a certificate. 7 {{{#!sql 8 UPDATE enrollment 9 SET completion_status = 'COMPLETED', 10 progress_percentage = 100 11 WHERE enrollment_id = :enrollmentId; 12 13 }}} 14 15 16 **2.** Certificate Generation. 8 17 9 18 {{{#!sql 10 19 INSERT INTO certificate (enrollment_id, issue_date, certificate_code, status) 11 VALUES (1, CURRENT_DATE, 'CERT-2026-0001', 'ISSUED'); 20 VALUES ( 21 :enrollmentId, 22 CURRENT_DATE, 23 :certificateCode, 24 'ISSUED' 25 ); 12 26 13 27
