Changes between Version 33 and Version 34 of UseCaseModel/AddingShipment


Ignore:
Timestamp:
12/27/24 22:56:41 (3 weeks ago)
Author:
153093
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCaseModel/AddingShipment

    v33 v34  
    4444{{{
    4545select
    46         e.employee_id,
    47         CONCAT(e.employee_name, ' ', e.employee_surname) AS employee_full_name
    48 from employee e 
     46    e.employee_id as Id,
     47    CONCAT(e.employee_name, ' ', e.employee_surname) AS Name
     48from employee e
    4949}}}
    5050
     
    5252{{{
    5353select
    54         v.vehicle_id,
    55         CONCAT(v.make, ' ', v.model, ' (', v.registration, ')') AS vehicle_info
     54    v.vehicle_id as Id,
     55    CONCAT(v.make, ' ', v.model, ' (', v.registration, ')') AS Name,
     56    edv.employee_id as EmployeeId,
     57    v.capacity as Capacity
    5658from employee_drives_vehicle edv
    57 join vehicle v on edv.vehicle_id = v.vehicle_id
    58 where edv.employee_id = 1
     59join vehicle v on edv.vehicle_id = v.vehicle_id
    5960}}}
    6061        * Приказ на Клиенти
    6162{{{
    6263select
    63         c.customer_id,
    64         CONCAT(c.customer_name , ' (', a.city , ' ', a.street ,' ',a.building_number, ' ', a.postcode, ')') AS customer_info
     64    c.customer_id as Id,
     65    CONCAT(c.customer_name , ' (', a.city , ' ', a.street ,' ',a.building_number, ' ', a.postcode, ')') AS Name,
     66    CONCAT(a.city ,' ', a.street ,' ',a.building_number,' ', a.postcode) AS Address
    6567from customer c
    6668join address a on c.address_id = a.address_id
     
    6971{{{
    7072select
    71          w.wine_id,
    72         CONCAT(w.wine_name , ' (', wt.wine_type_name,', ', wt.wine_type_region,')') AS wine_info
    73 from wine w
     73    w.wine_id as Id,
     74    CONCAT(w.wine_name , ' (', wt.wine_type_name,', ', wt.wine_type_region,')') AS Name,
     75    w.base_price as BasePrice
     76from wine w
    7477join wine_type wt on w.wine_type_id = wt.wine_type_id
    7578}}}