PayrollManagementSystem/db/migration/V28__calc_template_definitions.sql
liuwenxin 1461a8d113 feat(后端): 添加授权体系、系统监控与试用期计提
按 2026-11-02 需求补齐计划交付后端能力:
- 角色授权:权限目录化,接口统一准入校验,未登记默认拒绝;
  管理员判断改为按数据库角色重新判定,防止权限码持有者绕过
- 系统监控:单进程采集资源、请求与异常指标,分钟级聚合,
  阈值配置化;敏感配置增加 repr 保护,Redis 密码 URL 转义
- 试用期计提:按回款日判定并写入快照,年度结清与调整单联动;
  人员模型补试用期、离职日期与工资版本历史字段
- 计提模板:公式骨架受控,页面维护名称与参数绑定
- T+ 采集:自动化配置表与进度查询

内置角色禁停用保护对齐模块注释;核算规则版本提为常量并
补充批量核算失败堆栈日志。

影响范围:后端全部模块、数据库迁移 V22-V28
验证:uv run ruff check 通过;922 个单元测试全部通过;
集成测试因本机 MySQL 数据卷被其他容器锁定暂未运行
2026-11-03 11:20:55 +08:00

4 lines
2.6 KiB
MySQL
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

87a35cad4bb7d562fc1ed73d19e1064c0532fec4 {"key":"make-fetch-happen:request-cache:https://registry.npmmirror.com/rea-agents","integrity":"sha512-o19appUnaTowEwOfWsk1arMPzN0N2nxrjNp44YzkETBxlH+nixaQ4F6hEpOA5YB3vn4jOGhftXOZ/fH445lD1Q==","time":1793156084340,"size":360928,"metadata":{"time":1793156084339,"url":"https://registry.npmmirror.com/rea-agents","reqHeaders":{"accept":"application/json"},"resHeaders":{"cache-control":"public, max-age=300","date":"Wed, 28 Oct 2026 02:53:26 GMT","etag":"W/\"32b086fb8083c02db49da457121f98c36a4ffc06\"","vary":"Origin, Accept, Accept-Encoding","content-encoding":"gzip","content-type":"application/json; charset=utf-8"},"options":{"compress":true}}}
808ce84372391cae7d964a9716a5ebd40eb68cf0 {"key":"make-fetch-happen:request-cache:https://registry.npmmirror.com/rea-agents","integrity":"sha512-RUXoy/wIqCNvhqIngJfqTFSdVvkaPi3nz3pdEUoobvcOyb5HPwanPxFXYMqWeFpTHZZjtiIk7wPuRphH13eWiA==","time":1793669026286,"size":74206,"metadata":{"time":1793669026285,"url":"https://registry.npmmirror.com/rea-agents","reqHeaders":{"accept":"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"},"resHeaders":{"cache-control":"public, max-age=300","date":"Tue, 03 Nov 2026 01:23:39 GMT","etag":"W/\"a0cc50bc22f8c8e468bf590b20e511c88f6c7230\"","vary":"Origin, Accept, Accept-Encoding","content-encoding":"gzip","content-type":"application/json; charset=utf-8"},"options":{"compress":true}}}
df4551b904c58224c18bb6368b1437671a1330ed {"key":"make-fetch-happen:request-cache:https://registry.npmmirror.com/rea-agents","integrity":"sha512-RUXoy/wIqCNvhqIngJfqTFSdVvkaPi3nz3pdEUoobvcOyb5HPwanPxFXYMqWeFpTHZZjtiIk7wPuRphH13eWiA==","time":1793669037638,"size":74206,"metadata":{"time":1793669037637,"url":"https://registry.npmmirror.com/rea-agents","reqHeaders":{"accept":"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"},"resHeaders":{"cache-control":"public, max-age=300","date":"Tue, 03 Nov 2026 01:23:39 GMT","etag":"W/\"a0cc50bc22f8c8e468bf590b20e511c88f6c7230\"","vary":"Origin, Accept, Accept-Encoding","content-encoding":"gzip","content-type":"application/json; charset=utf-8"},"options":{"compress":true}}}