김주석씨

This commit is contained in:
DDD1542
2026-04-15 11:46:05 +09:00
parent 4d55aebe61
commit b7082b7799
16 changed files with 423 additions and 24 deletions

View File

@@ -543,6 +543,9 @@ export async function getItems(req: AuthenticatedRequest, res: Response) {
const result = await pool.query(
`SELECT
id, item_number, item_name, size AS spec, material, unit,
COALESCE(width::text, '') AS width,
COALESCE(height::text, '') AS height,
COALESCE(thickness::text, '') AS thickness,
COALESCE(CAST(NULLIF(standard_price, '') AS numeric), 0) AS standard_price
FROM item_info
WHERE ${conditions.join(" AND ")}