wisdom #19

Merged
bragaz_rexita merged 38 commits from wisdom into main 2025-12-22 09:18:18 +00:00
Showing only changes of commit d063478fc2 - Show all commits

View File

@@ -111,6 +111,8 @@ const getAllNotificationDb = async (searchParams = {}) => {
b.error_code, b.error_code,
b.error_code_name, b.error_code_name,
b.error_code_color,
b.path_icon,
b.created_at, b.created_at,
c.solution_name, c.solution_name,
@@ -123,10 +125,13 @@ const getAllNotificationDb = async (searchParams = {}) => {
COALESCE(d.device_name, '') + ' - ' + COALESCE(b.error_code_name, '') AS device_name_error COALESCE(d.device_name, '') + ' - ' + COALESCE(b.error_code_name, '') AS device_name_error
FROM notification_error a FROM notification_error a
LEFT JOIN brand_code b LEFT JOIN brand_code b
ON a.error_code_id = b.error_code_id AND b.deleted_at IS NULL ON a.error_code_id = b.error_code_id AND b.deleted_at IS NULL
LEFT JOIN brand_code_solution c LEFT JOIN brand_code_solution c
ON b.error_code_id = c.error_code_id AND c.deleted_at IS NULL ON b.error_code_id = c.error_code_id AND c.deleted_at IS NULL
LEFT JOIN m_device d LEFT JOIN m_device d
ON b.brand_id = d.brand_id AND d.deleted_at IS NULL ON b.brand_id = d.brand_id AND d.deleted_at IS NULL