上传的图像用于项目: 'CST技术支持'
  1. CST技术支持
  2. SLAL2-918

算薪check list——月入离职员工清单

XMLWord打印

    • Icon: 任务 任务
    • 解决结果: 完成
    • Icon: Medium Medium
    • 202008
    • Y-易路产品-
    • 途虎
    • 基础通用功能
    • 隐藏

      select
      tt.id as x_tt_id
      ,tt.name as x_tt_name
      ,hr.id as x_hr_id
      ,hr.employee_number as x_tt_employee_number
      ,hr.name as x_employee_name
      ,hr.hiredate as x_hiredate
      ,hr.departure_time as x_departure_time
      ,tt.date_start as x_date_start
      ,tt.date_end as x_date_end
      from hr_employee hr
      left join
      (select id,name,date_start,date_end from payroll_period where date_end=
      (select max(date_end) from payroll_period where state='open') and state='open') as tt on hr.hiredate >= tt.date_start and tt.date_end>=hr.hiredate or tt.date_start<=hr.departure_time and hr.departure_time <= tt.date_end
      where tt.name is not null

      显示
      select tt.id as x_tt_id ,tt.name as x_tt_name ,hr.id as x_hr_id ,hr.employee_number as x_tt_employee_number ,hr.name as x_employee_name ,hr.hiredate as x_hiredate ,hr.departure_time as x_departure_time ,tt.date_start as x_date_start ,tt.date_end as x_date_end from hr_employee hr left join (select id,name,date_start,date_end from payroll_period where date_end= (select max(date_end) from payroll_period where state='open') and state='open') as tt on hr.hiredate >= tt.date_start and tt.date_end>=hr.hiredate or tt.date_start<=hr.departure_time and hr.departure_time <= tt.date_end where tt.name is not null

      按照最新薪资期间,检查哪些员工新入职,哪些员工离职

            wenqiang.liu 刘文强
            songcy 宋春英
            表决:
            0 为这个问题表决

              创建日期:
              已更新:
              已解决: