SQL 修改
This commit is contained in:
parent
02d4ede400
commit
414b6ef953
|
|
@ -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")) < 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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue