...
|
...
|
@@ -335,7 +335,7 @@ func (d *StaffAssessDao) useTStaffAssess(companyId int, cycleId int, userId int, |
|
|
set time zone 'PRC';
|
|
|
|
|
|
with t_user_1 as (
|
|
|
select "user".id::text as user_id from "user" where "user".parent_id =%d
|
|
|
select "user".id::text as user_id from "user" where "user".parent_id =%d and "user".deleted_at isnull
|
|
|
),
|
|
|
-- 如果是hrbp
|
|
|
t_project_1 as(
|
...
|
...
|
|