作者 tangxvhui

微调

... ... @@ -333,7 +333,7 @@ func (d *StaffAssessDao) CountUserAssess(param SearchConditin1) (int, error) {
func (d *StaffAssessDao) useTStaffAssess(companyId int, cycleId int, userId int, beginDay string, hrbp int, limit int, offset int, assessType string) string {
sqlstr := `
set time zone 'PRC';
-- 部门主管
with t_user_1 as (
select "user".id::text as user_id from "user" where "user".parent_id =%d
),
... ...