SQL 修改

This commit is contained in:
cwchen 2025-08-28 16:08:10 +08:00
parent 02d4ede400
commit 414b6ef953
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@
bweh."exit_status" AS "exitstatus",
bweh."is_force" AS "isforce",
bweh."is_furlough_person" AS "is_furlough_person",
CASE WHEN (bweh."exit_status" = '1' AND bweh."exit_performance" IS NULL AND (TRUNC(SYSDATE) - TRUNC(bweh."exit_time")) < 4) THEN 1 ELSE 0 END AS "evaluate"
CASE WHEN (bweh."exit_status" = '1' AND bweh."exit_performance" IS NULL AND (TRUNC(SYSDATE) - TRUNC(bweh."exit_time")) &lt; 4) THEN 1 ELSE 0 END AS "evaluate"
FROM
"ynrealname"."bm_worker_ein_history" AS bweh
LEFT JOIN "ynrealname"."bm_worker" AS bw ON bweh."id_number" = bw."id_number" AND bw."is_active" = '1'