From b7f7b907bf96145bab53eb088a106157c510cbe7 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Tue, 19 May 2026 06:58:21 +0700 Subject: [PATCH] fix executive store procedure --- .../fix_GetProfileSalaryExecutive_calendar_arithmetic.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrations/fix_GetProfileSalaryExecutive_calendar_arithmetic.sql b/docs/migrations/fix_GetProfileSalaryExecutive_calendar_arithmetic.sql index 07d85ee8..9b1d5d50 100644 --- a/docs/migrations/fix_GetProfileSalaryExecutive_calendar_arithmetic.sql +++ b/docs/migrations/fix_GetProfileSalaryExecutive_calendar_arithmetic.sql @@ -14,7 +14,7 @@ CREATE DEFINER=`root`@`%` PROCEDURE `GetProfileSalaryExecutive`( ) BEGIN WITH ordered AS ( - SELECT * FROM profileSalary WHERE profileId = personId AND commandCode IN ('0','1','2','3','4','8','9','10','11','12','13','14','15','16','20') + SELECT * FROM profileSalary WHERE profileId = personId AND commandCode IN ('0','1','2','3','4','8','9','10','11','12','13','14','15','16','20') AND positionExecutive <> '' ), work_session AS ( SELECT *,