Changes between Version 31 and Version 32 of UseCaseModel/AddingShipment


Ignore:
Timestamp:
12/23/24 00:07:52 (3 weeks ago)
Author:
153093
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCaseModel/AddingShipment

    v31 v32  
    8484
    8585     - Успешно додавање на достава
     86     - Додаваме плаќање, достава и товар по редослед.
     87{{{
     88BEGIN;
     89
     90INSERT INTO public.Payment (Payment_Id, Payment_Status)
     91VALUES
     92    (15, 0);
     93
     94INSERT INTO public.Shipment (Shipment_Id, Employee_Id, Payment_Id, Vehicle_Id, Shipment_Date)
     95VALUES
     96    (15, 1, 15, 1, now());
     97
     98INSERT INTO public.shipment_load (Shipment_Id, Customer_Id, Wine_Id, Wine_Agreed_Price, Wine_Base_Price, Wine_Quantity)
     99VALUES
     100    (15, 1, 1, 150, 50, 20),
     101    (15, 1, 2, 90, 80, 50),
     102    (15, 2, 2, 100, 80, 50);
     103
     104COMMIT;
     105}}}
    86106