feat: refs#6493 Cambios solicitados procedimientos
This commit is contained in:
parent
07b45748f0
commit
55949d0979
|
@ -61,7 +61,7 @@ proc: BEGIN
|
||||||
CREATE OR REPLACE TEMPORARY TABLE tItemRangeLive
|
CREATE OR REPLACE TEMPORARY TABLE tItemRangeLive
|
||||||
(PRIMARY KEY (itemFk))
|
(PRIMARY KEY (itemFk))
|
||||||
ENGINE = MEMORY
|
ENGINE = MEMORY
|
||||||
SELECT ir.itemFk, TIMESTAMP(ir.dated + INTERVAL it.life DAY, '23:59:59') dated
|
SELECT ir.itemFk, util.dayEnd(ir.dated + INTERVAL it.life DAY) dated
|
||||||
FROM tItemRange ir
|
FROM tItemRange ir
|
||||||
JOIN item i ON i.id = ir.itemFk
|
JOIN item i ON i.id = ir.itemFk
|
||||||
JOIN itemType it ON it.id = i.typeFk
|
JOIN itemType it ON it.id = i.typeFk
|
||||||
|
|
Loading…
Reference in New Issue