SNAPSHOT W7 已部署稳定态 — 凯迪ERP+OA一体化平台 (MET 73.3%)

恢复点(restore point)。别人改崩后可 git reset --hard 回到此提交。

== 此快照内容 ==
- 后端 oa-backend: 734 控制器 / 711 实体 (Spring Boot 3.2.5 + SQLite, 端口8091)
- 前端 modern-ui/app: Vue3+Vite, 约700页 (构建产物已在 oa-backend/src/main/resources/static)
- 数据库 oa-backend/data/oa.db: 含全部演示数据 (强制入库, 6.6MB)
- 交接文档 go.md + go-code-reference/endpoints/entities/database.md
- 多代理建设脚本 .claude/wf-*.js

== 状态 ==
- 对 凯迪科技ERP_20260507.xlsx 合规 MET ~73.3% (PARTIAL 75: 34可建+6种子/bug+35外部硬天花板)
- 安全: 5轮红队+5轮复检, default-deny分级鉴权, 连续零可利用
- W3~W7 累计补完436缺口; W8末轮(40缺口)为半成品(源码树可编译但未集成)
- 运行: cd oa-backend; java -jar build/libs/oa-backend-0.1.0.jar --server.port=8091; admin/123456

== 排除(gitignore, 可再生) ==
node_modules / oa-backend/build / .jdks / *.log / Backup-ERP-* / 弃用的OFBiz核心(只保留modern-ui)
完整文件夹备份见同目录 Backup-ERP-20260615-191517/ (含上述全部, 仅缺 node_modules)

时间戳: 20260615-191517

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Qiufeng
2026-06-15 19:19:15 +08:00
co-authored by Claude Opus 4.8
commit 5e51dc3f56
10584 changed files with 2501339 additions and 0 deletions
+306
View File
@@ -0,0 +1,306 @@
{
"sensitiveRead": [
"/api/oa/audit-reg-lib",
"/api/oa/branch-fin-statements (already in AuthInterceptor SENSITIVE_READ_PREFIXES line 295, covers all sub-paths including /ar-ap-detail)",
"/api/oa/cost-hr-labor-rates (already in SENSITIVE_READ_PREFIXES)",
"/api/oa/cost-purchase-orders (already in SENSITIVE_READ_PREFIXES)",
"/api/oa/cost-reductions (already in SENSITIVE_READ_PREFIXES)",
"/api/oa/csl-timesheets (already in FINANCE_PREFIXES + SENSITIVE_READ_PREFIXES in AuthInterceptor)",
"/api/oa/csl-timesheets — already in FINANCE_PREFIXES + SENSITIVE_READ_PREFIXES (AuthInterceptor lines 96, 180); no change needed",
"/api/oa/fert-accounting",
"/api/oa/fin-emp-loans",
"/api/oa/financing-policies",
"/api/oa/fraud-investigation-notes",
"/api/oa/hr-emp-satisfaction",
"/api/oa/it-sec-policy",
"/api/oa/legal-cross-dept",
"/api/oa/mfg-cost-entries",
"/api/oa/mfg-fqc-reports",
"/api/oa/pmt-bank-evals",
"/api/oa/sewage-cross-dept-linkages",
"/api/oa/sewage-ext-lab-commissions",
"/api/oa/standard-costs (already in SENSITIVE_READ_PREFIXES)",
"/api/oa/ww-msds-filesMSDS安全说明书文件库,含危险类别/应急处置/PPE要求等安全敏感信息,建议集成时加入 AuthInterceptor.SENSITIVE_READ_PREFIXES",
"/api/oa/ww-xdept-bridge(跨部门联动桥接,GET /status 为汇总读,POST 写口已由 default-deny 保护,无需额外读收口)"
],
"nav": {
"rd": [
{
"key": "labkanban",
"label": "检测任务排程看板",
"kind": "board",
"path": "/rd/labkanban"
}
],
"lab": [
{
"key": "task-kanban",
"label": "任务排程看板",
"kind": "board",
"path": "/lab/task-kanban"
}
],
"design": [
{
"key": "csl-timesheets",
"label": "咨询人员工时录入与归集",
"kind": "list",
"path": "/design/csl-timesheets"
},
{
"key": "csl-timesheets",
"label": "咨询人员工时录入与归集",
"kind": "list",
"path": "/design/csl-timesheets"
},
{
"key": "csl-timesheets",
"label": "咨询人员工时录入与归集",
"kind": "list",
"path": "/design/csl-timesheets"
}
],
"mfg": [
{
"key": "fqcreport",
"label": "FQC出厂检验报告",
"kind": "list",
"path": "/mfg/fqcreport"
},
{
"key": "costentry",
"label": "外协/安装成本归集",
"kind": "list",
"path": "/mfg/costentry"
},
{
"key": "apsschedule",
"label": "APS排程调序与插单",
"kind": "list",
"path": "/mfg/apsschedule"
},
{
"key": "fertpkgledger",
"label": "包装物独立台账(库位管理)",
"kind": "list",
"path": "/mfg/fertpkgledger"
},
{
"key": "fertaccounting",
"label": "会计凭证台账与发票管理",
"kind": "list",
"path": "/mfg/fertaccounting"
}
],
"ehs": [
{
"key": "cert",
"label": "三体系认证",
"kind": "list",
"path": "/ehs/cert"
},
{
"key": "ext-audit",
"label": "外部审核与合规评价",
"kind": "list",
"path": "/ehs/ext-audit"
}
],
"budget": [
{
"key": "purchasecontrol",
"label": "采购成本控制",
"kind": "list",
"path": "/budget/purchasecontrol"
},
{
"key": "costreduction",
"label": "降本增效跟踪",
"kind": "list",
"path": "/budget/costreduction"
},
{
"key": "hrlaborrate",
"label": "HR部门工时费率管理",
"kind": "list",
"path": "/budget/hrlaborrate"
},
{
"key": "valuationconfig",
"label": "存货计价方法配置",
"kind": "list",
"path": "/budget/valuationconfig"
},
{
"key": "costctrldeep",
"label": "成本控制深化操作台",
"kind": "report",
"path": "/budget/costctrldeep"
},
{
"key": "productcost",
"label": "产品成本计算表",
"kind": "report",
"path": "/budget/productcost"
}
],
"ops": [
{
"key": "extlabcommission",
"label": "外委水质检测管理",
"kind": "list",
"path": "/ops/extlabcommission"
},
{
"key": "wwmsds",
"label": "MSDS化学品安全文件库",
"kind": "list",
"path": "/ops/wwmsds"
},
{
"key": "wwcrossdept",
"label": "废水运营跨部门真实联动",
"kind": "list",
"path": "/ops/wwcrossdept"
}
],
"crm": [
{
"key": "marketingdashboard",
"label": "市场营销驾驶舱",
"kind": "report",
"path": "/crm/marketingdashboard"
},
{
"key": "mobile-crm",
"label": "移动CRM工作台",
"kind": "portal",
"path": "/crm/mobile-crm"
},
{
"key": "branchfinstatement",
"label": "分公司独立财务报表",
"kind": "report",
"path": "/crm/branchfinstatement"
}
],
"payment": [
{
"key": "emp-loan",
"label": "员工借款管理",
"kind": "list",
"path": "/payment/emp-loan"
},
{
"key": "institution-evaluation",
"label": "金融机构定期评价",
"kind": "list",
"path": "/payment/institution-evaluation"
},
{
"key": "financing-policy",
"label": "融资政策合规规则",
"kind": "list",
"path": "/payment/financing-policy"
}
],
"finance": [
{
"key": "emp-loan",
"label": "员工借款管理(借款/还款/逾期)",
"kind": "list",
"path": "/finance/emp-loan"
},
{
"key": "rd-personnel",
"label": "研发人员档案(工时分摊规则)",
"kind": "list",
"path": "/finance/rd-personnel"
},
{
"key": "rd-timesheet",
"label": "研发工时填报(日报/周报/分摊)",
"kind": "list",
"path": "/finance/rd-timesheet"
},
{
"key": "account-standards",
"label": "多会计准则配置(CAS/IFRS切换)",
"kind": "list",
"path": "/finance/account-standards"
},
{
"key": "elec-archive",
"label": "电子会计档案(归档/哈希/备份)",
"kind": "list",
"path": "/finance/elec-archive"
}
],
"legal": [
{
"key": "crossdept",
"label": "跨部门联动看板",
"kind": "report",
"path": "/legal/crossdept"
}
],
"audit": [
{
"key": "regulib",
"label": "法规制度库快速检索",
"kind": "list",
"path": "/audit/regulib"
},
{
"key": "fraudworkspace",
"label": "独立调查工作空间",
"kind": "list",
"path": "/audit/fraudworkspace"
}
],
"culture": [
{
"key": "contentTask",
"label": "内容创作任务分发",
"kind": "list",
"path": "/culture/contentTask"
},
{
"key": "eventMaterial",
"label": "活动物料管理",
"kind": "list",
"path": "/culture/eventMaterial"
},
{
"key": "hrSatisfaction",
"label": "HR独立满意度调查",
"kind": "list",
"path": "/culture/hrSatisfaction"
}
],
"hr": [
{
"key": "hr-ai-doc",
"label": "AI文档初稿(入职/岗位说明/手册)",
"kind": "list",
"path": "/hr/hr-ai-doc"
}
],
"itasset": [
{
"key": "itasset-nettopo",
"label": "网络拓扑与安全",
"kind": "page",
"path": "/oa/itasset/nettopo"
}
],
"admin": [
{
"key": "logistics-report",
"label": "后勤综合报表汇总",
"kind": "report",
"path": "/admin/logistics-report"
}
]
}
}