fix(ticket): escape <= in TicketMapper.xml SELECTs (boot crash, stale-jar rollback)

Unescaped <= at findProducts/findProduct broke SqlSessionFactory XML
parsing, crashing every new jar at startup; deploy rolled back to the
pre-V50 jar, so V50/V51 never reached prod and the admin demo account
lost event membership again (floorplan menu fell back to /home).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
zio 2026-07-14 01:51:47 +09:00
parent 712d71d2cc
commit 1d46da8398

View File

@ -24,10 +24,10 @@
(total_qty - sold_qty) AS "remaining", (total_qty - sold_qty) AS "remaining",
max_per_order AS "maxPerOrder", max_per_order AS "maxPerOrder",
CASE WHEN status = 'active' CASE WHEN status = 'active'
AND (sale_start IS NULL OR sale_start <= now()) AND (sale_start IS NULL OR sale_start &lt;= now())
AND (sale_end IS NULL OR sale_end >= now()) AND (sale_end IS NULL OR sale_end &gt;= now())
THEN true ELSE false END AS "onSale", THEN true ELSE false END AS "onSale",
CASE WHEN (total_qty - sold_qty) <= 0 THEN true ELSE false END AS "soldOut", CASE WHEN (total_qty - sold_qty) &lt;= 0 THEN true ELSE false END AS "soldOut",
sort_order AS "sortOrder" sort_order AS "sortOrder"
FROM ticket_product FROM ticket_product
WHERE tenant_id = 'KINTEX' WHERE tenant_id = 'KINTEX'
@ -48,8 +48,8 @@
status, status,
(total_qty - sold_qty) AS "remaining", (total_qty - sold_qty) AS "remaining",
CASE WHEN status = 'active' CASE WHEN status = 'active'
AND (sale_start IS NULL OR sale_start <= now()) AND (sale_start IS NULL OR sale_start &lt;= now())
AND (sale_end IS NULL OR sale_end >= now()) AND (sale_end IS NULL OR sale_end &gt;= now())
THEN true ELSE false END AS "onSale" THEN true ELSE false END AS "onSale"
FROM ticket_product FROM ticket_product
WHERE tenant_id = 'KINTEX' WHERE tenant_id = 'KINTEX'