车间
This commit is contained in:
@@ -309,7 +309,7 @@
|
||||
SELECT
|
||||
COALESCE(SUM(CASE
|
||||
WHEN (day_length > 0 OR hour > 0)
|
||||
OR project_id = 0
|
||||
OR project_id IN (0, 1)
|
||||
THEN 1 ELSE 0 END), 0) AS work_days
|
||||
FROM sys_oa_attendance oas
|
||||
WHERE oas.user_id = #{userId}
|
||||
|
||||
Reference in New Issue
Block a user