factory/apps/hrm
zty b395db7a28 feat(hrm): 完善员工导入导出
导出(export_excel):
- 去掉 1000 条上限,导出筛选后的全部记录
- 由 7 列扩展为全部业务字段;select_related 避免 N+1

导入(import_excel):
- 改为按姓名 upsert:姓名唯一直接更新(身份证号可空);
  重名必须用身份证号区分,否则报错
- 已存在记录用 Excel 非空列覆盖,空单元格保持原值
- 所属部门改为必填:为空或系统不存在均报错
- 修复新增分支重复关键字参数导致的报错

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 14:18:47 +08:00
..
migrations feat: 修改光芯bug 2026-05-15 17:07:58 +08:00
__init__.py
admin.py
apps.py
errors.py
filters.py
models.py feat: 修改光芯bug 2026-05-15 17:07:58 +08:00
serializers.py feat: 修改光芯bug 2026-05-15 17:07:58 +08:00
services.py feat: 修改 hrm & rpm 代码 2026-04-07 13:42:30 +08:00
signals.py
tasks.py
tests.py
urls.py feat:hrm-人员合同变更 2026-03-12 08:48:52 +08:00
views.py feat(hrm): 完善员工导入导出 2026-06-03 14:18:47 +08:00