diff --git a/db/notification_error.db.js b/db/notification_error.db.js index 8f1aa38..75524d9 100644 --- a/db/notification_error.db.js +++ b/db/notification_error.db.js @@ -20,6 +20,7 @@ const getNotificationByIdDb = async (id) => { d.device_code, d.device_name, d.device_location, + d.listen_channel, e.brand_name FROM notification_error a @@ -105,6 +106,7 @@ const getAllNotificationDb = async (searchParams = {}) => { d.device_code, d.device_name, d.device_location, + d.listen_channel, e.brand_name, COALESCE(d.device_name, '') + ' - ' + COALESCE(b.error_code_name, '') AS device_name_error