feat(排班异常识别): 新增序列过滤、离职剔除,优化推送逻辑与钉钉消息格式
1. 新增职位序列过滤,排除经营系/职能系专业序列员工异常 2. 增加离职/未入册员工过滤,按花名册工号剔除异常记录 3. 简化店长解析逻辑,不再回退部门匹配 4. 优化钉钉消息格式,使用markdown换行并添加门店问候语 5. 调整钉钉推送命令参数,适配新版dws工具 6. 新增测试脚本,推送结果定向到夏一平 7. 更新花名册导出路径与默认筛选条件
This commit is contained in:
@@ -631,11 +631,11 @@ def main(statuses=None, leave_start=None, leave_end=None,
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
statuses = ["在职", "离职"]
|
||||
leave_start = "2026-07-01"
|
||||
leave_end = "2026-08-21"
|
||||
statuses = ["在职"]
|
||||
leave_start = ""
|
||||
leave_end = ""
|
||||
template = "员工基础信息"
|
||||
output_path = r"D:\资料\人资\请休假异常\员工花名册.xlsx"
|
||||
output_path = r"D:\资料\人资\排班异常识别\员工花名册.xlsx"
|
||||
main(statuses=statuses, leave_start=leave_start, leave_end=leave_end,
|
||||
template=template, output_path=output_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user