Changes between Version 1 and Version 2 of IssuingCertificate


Ignore:
Timestamp:
01/22/26 03:52:58 (15 hours ago)
Author:
221296
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IssuingCertificate

    v1 v2  
    33==== Actors: **System (automatic)**
    44
    5 **1.** The user successfully completes the course.
     5**1.** Course Completion Verification.
    66
    7 **2.** The system generates and stores a certificate.
     7{{{#!sql
     8UPDATE enrollment
     9SET completion_status = 'COMPLETED',
     10    progress_percentage = 100
     11WHERE enrollment_id = :enrollmentId;
     12
     13}}}
     14
     15
     16**2.** Certificate Generation.
    817
    918{{{#!sql
    1019INSERT INTO certificate (enrollment_id, issue_date, certificate_code, status)
    11 VALUES (1, CURRENT_DATE, 'CERT-2026-0001', 'ISSUED');
     20VALUES (
     21    :enrollmentId,
     22    CURRENT_DATE,
     23    :certificateCode,
     24    'ISSUED'
     25);
    1226
    1327