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

MHD_hr提醒python code

XMLWord打印

    • M-MHD-Y2018101
    • STD
    • MHD
    • 基础通用功能

      配置了hr提醒“员工转正提醒”,会在每月1号发送给提醒人即将转正的人员名单,
      需要通过python code 实现,四位hrbp收到的人员名单是根据他们各自的员工范围控制的,即hrbp只能收到他们范围内的员工名单,规则如下:
      1.Joyce QIU ,工号:7288,用户名:Joyce.qiu@mhdchina.cn,对应范围:
      [('employee_now_rank.code','!=','G001'),('employee_now_rank.code','!=','G002'),'|',('department_id','child_of',233),'|',('department_id','=',120),'|',('department_id','=',119),'|',('department_id','=',121),'|',('department_id','=',97),'|',('department_id','=',100),'|',('department_id','=',271),'|',('department_id','child_of',91),'|',('department_id','child_of',256),'|',('department_id','child_of',123),'|',('department_id','child_of',2),'|',('department_id','=',287),'|',('department_id','child_of',90),'|',('department_id','child_of',92),('employee_number','=','7288')]

      2.Vivian WANG,工号:7510,用户名:vivian.wang-wxy@mhdchina.cn,对应范围:[('employee_now_rank.code','!=','G001'),('employee_now_rank.code','!=','G002'),'|',('department_id','child_of',89),'|',('department_id','=',115),'|',('department_id','=',117),'|',('department_id','=',109),'|',('department_id','=',281),'|',('department_id','=',280),'|',('department_id','=',114),'|',('department_id','=',111),'|',('department_id','=',278),'|',('department_id','=',279),'|',('department_id','=',118),'|',('department_id','=',116),'|',('department_id','child_of',95),'|',('department_id','child_of',285),'|',('department_id','child_of',93),('employee_number','=','7510')]

      3.Tina YANG,工号:7314,用户名:yuting.yang@mhdchina.cn,对应范围:
      [('employee_now_rank.code','!=','G001'),('employee_now_rank.code','!=','G002'),('employee_now_rank.code','!=','G003'),'|',('department_id','=',133),'|',('department_id','=',237),'|',('department_id','=',126),'|',('department_id','=',269),'|',('department_id','=',131),'|',('department_id','=',270),'|',('department_id','=',125),'|',('department_id','=',129),'|',('department_id','=',124),'|',('department_id','child_of',283),('employee_number','=','7314')]

      4.Claudia HUANG,工号:7167,用户名:claudia.huang@mhdchina.cn,对应范围:
      [('employee_now_rank.code','!=','G001'),('employee_now_rank.code','!=','G002'),('employee_now_rank.code','!=','G003'),'|',('department_id','=',132),'|',('department_id','=',130),'|',('department_id','=',127),'|',('department_id','=',128),('employee_number','=','7167')]

            clark.geng 耿秀兵
            yunfeng.hua 华昀丰
            表决:
            0 为这个问题表决

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

                预估时间:
                初始预估 - 尚未指定
                尚未指定
                剩余:
                剩余的估算 - 0小时
                0小时
                实际工作时间:
                耗费时间 - 1.5小时
                1.5小时