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
+537
View File
@@ -0,0 +1,537 @@
{
"sensitiveRead": [
"/api/oa/archive-hash-records",
"/api/oa/audit-cross-module",
"/api/oa/audit-evidence",
"/api/oa/audit-reports",
"/api/oa/audit-risk-assessments",
"/api/oa/bid-knowledge",
"/api/oa/compliance-risk-reports",
"/api/oa/cost-ctrl-ext",
"/api/oa/crm-branch-petitions",
"/api/oa/crm-follow-scripts",
"/api/oa/crm-marketing-dashboard",
"/api/oa/crm-mobile-biz",
"/api/oa/decl-audit-reports",
"/api/oa/design-gantt",
"/api/oa/dev-launch-stats",
"/api/oa/env-waste-records",
"/api/oa/env-waste-records/exceed",
"/api/oa/env-waste-records/stats",
"/api/oa/fin-account-aux",
"/api/oa/fin-account-perms",
"/api/oa/fin-bom-cost",
"/api/oa/fin-procure-budget-check",
"/api/oa/fin-rev-recognitions",
"/api/oa/hr-cross-dept",
"/api/oa/hr-interview-questions",
"/api/oa/lab-cross-dept",
"/api/oa/patent-disclosures",
"/api/oa/patent-kpi",
"/api/oa/pmt-internal-trans (already in SENSITIVE_READ_PREFIXES)",
"/api/oa/qhse-interface/cross-dept-summary",
"/api/oa/qhse-interface/health-alert",
"/api/oa/qhse-reports/env-discharge-report",
"/api/oa/qual-elec-licenses",
"/api/oa/rd-ebom-cost-calc",
"/api/oa/rd-innovation-points",
"/api/oa/rd-test-plans",
"/api/oa/settlements (already in FINANCE_PREFIXES + SENSITIVE_READ_PREFIXES)",
"/api/oa/stl-fund-report (already in SENSITIVE_READ_PREFIXES)",
"/api/oa/supplier-contract-prereq",
"/api/oa/sv-accidents",
"/api/oa/sv-cross-link",
"/api/oa/sv-personal-certs",
"/api/oa/sv-sequence-inspects"
],
"nav": {
"rd": [
{
"key": "testplan",
"label": "结构化测试计划(状态机)",
"kind": "list",
"path": "/rd/testplan"
},
{
"key": "ebomcostcalc",
"label": "产品标准成本自动展开",
"kind": "report",
"path": "/rd/ebomcostcalc"
},
{
"key": "innovationpoint",
"label": "创新点→专利申请触发",
"kind": "list",
"path": "/rd/innovationpoint"
},
{
"key": "launchstat",
"label": "产品上市统计与研发投入分析",
"kind": "report",
"path": "/rd/launchstat"
},
{
"key": "declauditreport",
"label": "近三年审计报告归集",
"kind": "list",
"path": "/rd/declauditreport"
},
{
"key": "declassignment",
"label": "申报项目参与台账",
"kind": "list",
"path": "/rd/declassignment"
},
{
"key": "ipscicredarchive",
"label": "科研信誉加分文件归档",
"kind": "list",
"path": "/rd/ipscicredarchive"
},
{
"key": "patentdisclosure",
"label": "技术交底书与专利决策流",
"kind": "list",
"path": "/rd/patentdisclosure"
},
{
"key": "patentmidfile",
"label": "专利中间文件管理",
"kind": "list",
"path": "/rd/patentmidfile"
},
{
"key": "patentkpi",
"label": "专利工法KPI统计报表",
"kind": "report",
"path": "/rd/patentkpi"
},
{
"key": "wmrewardconfig",
"label": "奖励标准可配置维护",
"kind": "settings",
"path": "/rd/wmrewardconfig"
},
{
"key": "patentportal",
"label": "专利工法知识共享门户",
"kind": "portal",
"path": "/rd/patentportal"
}
],
"lab": [
{
"key": "cross-dept",
"label": "跨部门接口联动",
"kind": "list",
"path": "/lab/cross-dept"
}
],
"design": [
{
"key": "bidknowledge",
"label": "投标知识库",
"kind": "list",
"path": "/design/bidknowledge"
},
{
"key": "gantt",
"label": "设计甘特图·日历·资源排程",
"kind": "board",
"path": "/design/gantt"
}
],
"supervision": [
{
"key": "personalcert",
"label": "监理人员执业证(到期预警)",
"kind": "list",
"path": "/supervision/personalcert"
},
{
"key": "sequenceinspect",
"label": "工序验收工单(全流程+对比分析)",
"kind": "list",
"path": "/supervision/sequenceinspect"
},
{
"key": "accident",
"label": "安全事故快速上报(全流程)",
"kind": "list",
"path": "/supervision/accident"
},
{
"key": "crosslink",
"label": "跨模块联动(实验室回写/变更推送)",
"kind": "list",
"path": "/supervision/crosslink"
}
],
"mfg": [
{
"key": "envsupplier",
"label": "供应商资质台账",
"kind": "list",
"path": "/mfg/envsupplier"
},
{
"key": "wipposition",
"label": "在制品位置台账",
"kind": "list",
"path": "/mfg/wipposition"
},
{
"key": "finintegration",
"label": "财务集成深化",
"kind": "list",
"path": "/mfg/finintegration"
},
{
"key": "crossdept",
"label": "跨部门数据聚合",
"kind": "list",
"path": "/mfg/crossdept"
},
{
"key": "fertsafetypatrol",
"label": "车间安全巡检",
"kind": "list",
"path": "/mfg/fertsafetypatrol"
}
],
"ehs": [
{
"key": "ehs-supply",
"label": "质安部应急物资",
"kind": "list",
"path": "/ehs/ehs-supply"
},
{
"key": "env-compli",
"label": "环保合规管理",
"kind": "list",
"path": "/ehs/env-compli"
},
{
"key": "ext-audit",
"label": "外部审核与合规评价",
"kind": "list",
"path": "/ehs/ext-audit"
},
{
"key": "qhse-reports",
"label": "QHSE统计报表",
"kind": "report",
"path": "/ehs/qhse-reports"
},
{
"key": "qhse-interface",
"label": "跨部门接口聚合",
"kind": "report",
"path": "/ehs/qhse-interface"
}
],
"archive": [
{
"key": "batch",
"label": "电子文件批量操作",
"kind": "list",
"path": "/archive/batch"
},
{
"key": "hashintegrity",
"label": "哈希存证·防篡改",
"kind": "list",
"path": "/archive/hashintegrity"
}
],
"budget": [
{
"key": "bidcontractcompare",
"label": "中标清单价vs合同价比对",
"kind": "report",
"path": "/budget/bidcontractcompare"
},
{
"key": "contractcostall",
"label": "合同成本明细表(全量)",
"kind": "report",
"path": "/budget/contractcostall"
},
{
"key": "supplierprereq",
"label": "供应商合同前置条件检查",
"kind": "list",
"path": "/budget/supplierprereq"
}
],
"ops": [
{
"key": "inflowforecast",
"label": "进水量预测调度",
"kind": "report",
"path": "/ops/inflowforecast"
},
{
"key": "govreport",
"label": "政府监管报表",
"kind": "report",
"path": "/ops/govreport"
},
{
"key": "deptlinkage",
"label": "跨部门联动触发器",
"kind": "list",
"path": "/ops/deptlinkage"
},
{
"key": "clientattach",
"label": "企业档案附件管理",
"kind": "list",
"path": "/ops/clientattach"
},
{
"key": "opsdeptlink",
"label": "跨部门运营数据推送",
"kind": "list",
"path": "/ops/opsdeptlink"
}
],
"crm": [
{
"key": "marketingdashboard",
"label": "市场营销驾驶舱",
"kind": "report",
"path": "/crm/marketingdashboard"
},
{
"key": "followscript",
"label": "客户跟进话术库",
"kind": "list",
"path": "/crm/followscript"
},
{
"key": "mobile-biz",
"label": "移动经营看板",
"kind": "portal",
"path": "/crm/mobile-biz"
},
{
"key": "branchpetition",
"label": "办事处请示报告",
"kind": "list",
"path": "/crm/branchpetition"
},
{
"key": "branchadminext",
"label": "办事处物资/车辆申请",
"kind": "list",
"path": "/crm/branchadminext"
},
{
"key": "projectwbs",
"label": "项目WBS任务与甘特追踪",
"kind": "board",
"path": "/crm/projectwbs"
}
],
"payment": [
{
"key": "fund-report",
"label": "资金报表分析",
"kind": "report",
"path": "/payment/fund-report"
},
{
"key": "internal-trans",
"label": "内部往来与计息",
"kind": "list",
"path": "/payment/internal-trans"
},
{
"key": "settlement",
"label": "结算复核",
"kind": "list",
"path": "/payment/settlement"
},
{
"key": "contract-attachments",
"label": "合同扫描件版本管理",
"kind": "list",
"path": "/payment/contract-attachments"
},
{
"key": "contract-fee-items",
"label": "合同费用明细与综合成本",
"kind": "list",
"path": "/payment/contract-fee-items"
}
],
"finance": [
{
"key": "account-aux",
"label": "科目辅助核算(配置+余额表)",
"kind": "list",
"path": "/finance/account-aux"
},
{
"key": "rev-recognition",
"label": "收入确认(完工百分比+凭证)",
"kind": "list",
"path": "/finance/rev-recognition"
},
{
"key": "bom-cost",
"label": "BOM-成本核算集成",
"kind": "list",
"path": "/finance/bom-cost"
},
{
"key": "procure-budget-check",
"label": "采购预算实时检查",
"kind": "list",
"path": "/finance/procure-budget-check"
},
{
"key": "account-perms",
"label": "财务岗位权限矩阵",
"kind": "list",
"path": "/finance/account-perms"
}
],
"legal": [
{
"key": "complianceRiskReport",
"label": "合规风险报告",
"kind": "list",
"path": "/legal/complianceRiskReport"
}
],
"audit": [
{
"key": "reportgen",
"label": "审计报告生成",
"kind": "list",
"path": "/audit/reportgen"
},
{
"key": "evidence",
"label": "审计证据管理",
"kind": "list",
"path": "/audit/evidence"
},
{
"key": "riskaudit",
"label": "风险管理有效性审计",
"kind": "list",
"path": "/audit/riskaudit"
},
{
"key": "fraudalert",
"label": "舞弊预警规则",
"kind": "list",
"path": "/audit/fraudalert"
},
{
"key": "hrsummary",
"label": "HR/生产/申报审计取数",
"kind": "report",
"path": "/audit/hrsummary"
}
],
"culture": [
{
"key": "brandSupplier",
"label": "品牌专属供应商管理",
"kind": "list",
"path": "/culture/brandSupplier"
},
{
"key": "mediaBriefReport",
"label": "媒体简报报告",
"kind": "report",
"path": "/culture/mediaBriefReport"
},
{
"key": "brandCollab",
"label": "跨部门协同推送",
"kind": "list",
"path": "/culture/brandCollab"
},
{
"key": "brandMobilePlus",
"label": "宣传移动端聚合",
"kind": "list",
"path": "/culture/brandMobilePlus"
},
{
"key": "cultureMobile",
"label": "移动端文化功能",
"kind": "list",
"path": "/culture/cultureMobile"
}
],
"hr": [
{
"key": "elec-license",
"label": "电子证照QR台账",
"kind": "list",
"path": "/hr/elec-license"
},
{
"key": "interview-bank",
"label": "面试笔试题库(AI生成)",
"kind": "list",
"path": "/hr/interview-bank"
},
{
"key": "cross-dept-api",
"label": "跨部门接口(法务/申报/财务)",
"kind": "list",
"path": "/hr/cross-dept-api"
},
{
"key": "mobile-qual",
"label": "资质手机专属视图",
"kind": "list",
"path": "/hr/mobile-qual"
},
{
"key": "mobile-archive",
"label": "档案手机专属视图",
"kind": "list",
"path": "/hr/mobile-archive"
}
],
"itasset": [
{
"key": "mobileapp",
"label": "IT移动工作台",
"kind": "list",
"path": "/itasset/mobileapp"
}
],
"admin": [
{
"key": "training-quiz",
"label": "AI培训题库与学习路径",
"kind": "list",
"path": "/admin/training-quiz"
},
{
"key": "ai-assist",
"label": "行政AI助手",
"kind": "list",
"path": "/admin/ai-assist"
}
],
"mobile": [
{
"key": "logistics",
"label": "后勤移动服务",
"kind": "portal",
"path": "/mobile/logistics"
}
]
}
}