作者 tangxvhui

微调

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