PayrollManagementSystem/backend/app/services
liuwenxin 409e26614f refactor(business): 编辑出参取校验返回值省重查,submit_change 批量预载
- update_receipt 取 _ensure_shipment_of_business 返回值组装出参
  (shipment_id 已赋为 payload 新值,与 get_with_refs 重查同源),
  省一次三表 join;update_shipment 同理取锁定行的 business_no
- 删 business_repository.count_items(无任何调用的死代码,删除保护
  实际走 has_docs)
- submit_change 校验段定义与岗位各一条 IN 批量预载(逐条查询在批次
  扩大时是写侧 N+1);岗位字典键 casefold 归一保持与单条版 ci 校对
  等价的命中语义;旧值留痕保持逐条(窗口函数优化留待 M3 一并设计)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-15 09:32:35 +08:00
..
__init__.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
audit_service.py feat(system): 完成后端系统管理(审计/角色/操作日志/日志查询) 2026-10-10 16:28:04 +08:00
auth_service.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
business_role_service.py feat(system): 业务岗位角色管理接口与保护规则 2026-10-12 16:39:08 +08:00
business_service.py fix(business): 行金额乘积显式两位固化,计提比例对负天数钳制 2026-10-14 18:58:30 +08:00
calc_templates.py feat(system): 计提公式模板注册表与精确分数计算函数 2026-10-12 16:22:32 +08:00
captcha_service.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
customer_service.py fix(product): 删除引用保护/单价小数位校验,IntegrityError 全局兜底转 400 2026-10-14 18:48:32 +08:00
formula.py fix(business): 行金额乘积显式两位固化,计提比例对负天数钳制 2026-10-14 18:58:30 +08:00
log_service.py feat(system): 完成后端系统管理(审计/角色/操作日志/日志查询) 2026-10-10 16:28:04 +08:00
login_limiter.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
no_generator.py fix(no_generator): 编号 MAX 检索改长度优先排序,破解位宽进位后字典序失效 2026-10-14 14:09:30 +08:00
param_registry.py feat(system): 计提公式模板注册表与精确分数计算函数 2026-10-12 16:22:32 +08:00
param_service.py refactor(business): 编辑出参取校验返回值省重查,submit_change 批量预载 2026-10-15 09:32:35 +08:00
personnel_service.py fix(business): 删除保护补齐与单价小数位口径修复(e2e 发现) 2026-10-13 17:06:46 +08:00
product_service.py fix(product): 删除引用保护/单价小数位校验,IntegrityError 全局兜底转 400 2026-10-14 18:48:32 +08:00
rating_service.py fix(rating): 区间重叠判定改用锁定读取,防并发重叠双提交 2026-10-14 19:01:11 +08:00
receipt_service.py refactor(business): 编辑出参取校验返回值省重查,submit_change 批量预载 2026-10-15 09:32:35 +08:00
role_service.py feat(system): 完成后端系统管理(审计/角色/操作日志/日志查询) 2026-10-10 16:28:04 +08:00
shipment_service.py refactor(business): 编辑出参取校验返回值省重查,submit_change 批量预载 2026-10-15 09:32:35 +08:00
token_blacklist.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
user_service.py feat(system): 完成后端系统管理(审计/角色/操作日志/日志查询) 2026-10-10 16:28:04 +08:00