parent
f9a25617f0
commit
615f57b2e6
|
@ -95,12 +95,8 @@ BEGIN
|
|||
CAST(COUNT(*) AS DECIMAL(10,0)) `lines`,
|
||||
st.classColor,
|
||||
CONCAT_WS(':',
|
||||
IF(HOUR(t.shipped),
|
||||
HOUR(t.shipped),
|
||||
COALESCE(HOUR(zc.hour),HOUR(z.hour))),
|
||||
IF(MINUTE(t.shipped),
|
||||
MINUTE(t.shipped),
|
||||
COALESCE(MINUTE(zc.hour),MINUTE(z.hour)))
|
||||
COALESCE(HOUR(t.shipped), HOUR(zc.hour), HOUR(z.hour)),
|
||||
COALESCE(MINUTE(t.shipped), MINUTE(zc.hour), MINUTE(z.hour))
|
||||
) preparation
|
||||
FROM ticket t
|
||||
JOIN sale s ON s.ticketFk = t.id
|
||||
|
|
Loading…
Reference in New Issue