fix executive store procedure
This commit is contained in:
parent
6c5356ca46
commit
b7f7b907bf
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ CREATE DEFINER=`root`@`%` PROCEDURE `GetProfileSalaryExecutive`(
|
||||||
)
|
)
|
||||||
BEGIN
|
BEGIN
|
||||||
WITH ordered AS (
|
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 (
|
work_session AS (
|
||||||
SELECT *,
|
SELECT *,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue