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
+835
View File
@@ -0,0 +1,835 @@
{
"sensitiveRead": [
"/api/oa/admin-vehicle-reports",
"/api/oa/archive-acl-aware",
"/api/oa/archive-acl-enforce",
"/api/oa/archive-compliance",
"/api/oa/archive-cross",
"/api/oa/audit-annual-plans",
"/api/oa/audit-archives",
"/api/oa/audit-data-aggregate",
"/api/oa/audit-material-requests",
"/api/oa/audit-quality-reviews",
"/api/oa/branch-fin-statements",
"/api/oa/branch-licenses",
"/api/oa/brand-chronicle",
"/api/oa/canteen-procurement",
"/api/oa/cost-cross-dept",
"/api/oa/crm-bid-quote-details",
"/api/oa/crm-branch-leases",
"/api/oa/crm-customer-contacts",
"/api/oa/crm-daily-reports",
"/api/oa/crm-gps-tracks",
"/api/oa/crm-opp-stages",
"/api/oa/crm-performance",
"/api/oa/csl-analytics",
"/api/oa/csl-audit-log",
"/api/oa/csl-chapter-comments",
"/api/oa/csl-integral",
"/api/oa/csl-market-analytics",
"/api/oa/culture-material-downloads",
"/api/oa/decl-calendar",
"/api/oa/fin-ar-ap-auto",
"/api/oa/fin-asset-inventories",
"/api/oa/fin-period-close",
"/api/oa/fin-post-loan-checks",
"/api/oa/fin-rd-closeout",
"/api/oa/financings",
"/api/oa/hr-recruit",
"/api/oa/internal-newsletters",
"/api/oa/it-account-audit",
"/api/oa/it-data-exports",
"/api/oa/it-disaster-drills",
"/api/oa/it-procurement",
"/api/oa/it-sec-training",
"/api/oa/it-sys-logs",
"/api/oa/legal-compliance-certs",
"/api/oa/legal-risk-measures",
"/api/oa/logistics-suppliers",
"/api/oa/logistics-surveys",
"/api/oa/mrp-from-engbom",
"/api/oa/ops-reagent-cost-alloc",
"/api/oa/pmt-collection",
"/api/oa/pmt-cost-alloc",
"/api/oa/pmt-payee-blacklist",
"/api/oa/qual-analytics",
"/api/oa/qual-year-checks",
"/api/oa/rd-decl-plans",
"/api/oa/rd-doc-versions",
"/api/oa/rd-knowledge",
"/api/oa/rd-mobile",
"/api/oa/rd-sci-tech-personnel",
"/api/oa/sewage-detection-reports",
"/api/oa/sewage-occ-health",
"/api/oa/sewage-process-flow",
"/api/oa/staff-self",
"/api/oa/stl-fund-report",
"/api/oa/stl-rolling-forecast",
"/api/oa/sv-archive-transfers",
"/api/oa/sv-drawing-issues",
"/api/oa/sv-equipment-ledger",
"/api/oa/sv-safety-agg",
"/api/oa/wm-cross-link",
"/api/oa/wm-decl-packs",
"/api/oa/wm-decl-templates",
"/api/oa/wm-doc-versions"
],
"nav": {
"rd": [
{
"key": "docsignoff",
"label": "设计文档签审与版本管理",
"kind": "board",
"path": "/rd/docsignoff"
},
{
"key": "rdknowledge",
"label": "研发知识库(经验/规范/竞品)",
"kind": "list",
"path": "/rd/rdknowledge"
},
{
"key": "mobileprogress",
"label": "移动进度与照片上传",
"kind": "board",
"path": "/rd/mobileprogress"
},
{
"key": "rddeclplan",
"label": "申报计划管理(通用)",
"kind": "list",
"path": "/rd/rddeclplan"
},
{
"key": "declcalendar",
"label": "申报日历与政策兑现分析",
"kind": "calendar",
"path": "/rd/declcalendar"
},
{
"key": "scitech",
"label": "科技人员名单台账",
"kind": "list",
"path": "/rd/scitech"
},
{
"key": "handoverstruct",
"label": "结构化工作交接",
"kind": "list",
"path": "/rd/handoverstruct"
},
{
"key": "wmdecltemplate",
"label": "工法/专利申报模板库",
"kind": "list",
"path": "/rd/wmdecltemplate"
},
{
"key": "wmdocversion",
"label": "申报材料版本管理",
"kind": "list",
"path": "/rd/wmdocversion"
},
{
"key": "wmdeclpack",
"label": "申报包自动组装与预检",
"kind": "board",
"path": "/rd/wmdeclpack"
},
{
"key": "wmcrosslink",
"label": "跨部门接口联动",
"kind": "list",
"path": "/rd/wmcrosslink"
}
],
"lab": [
{
"key": "report-approval",
"label": "报告三级审批",
"kind": "list",
"path": "/lab/report-approval"
}
],
"design": [
{
"key": "comments",
"label": "报告批注与协同文档",
"kind": "list",
"path": "/design/comments"
},
{
"key": "integral",
"label": "积分台账与团队排班",
"kind": "list",
"path": "/design/integral"
},
{
"key": "marketbi",
"label": "市场经营多维穿透分析",
"kind": "report",
"path": "/design/marketbi"
},
{
"key": "auditlog",
"label": "操作审计日志与合规规则",
"kind": "list",
"path": "/design/auditlog"
},
{
"key": "chaptercomments",
"label": "章节批注与协同绑定",
"kind": "list",
"path": "/design/chaptercomments"
},
{
"key": "expertscores",
"label": "专家积分排行与排班",
"kind": "list",
"path": "/design/expertscores"
},
{
"key": "analyticsdrill",
"label": "经营分析多维穿透",
"kind": "report",
"path": "/design/analyticsdrill"
}
],
"supervision": [
{
"key": "safetyagg",
"label": "安全检查跨项目聚合",
"kind": "report",
"path": "/supervision/safetyagg"
},
{
"key": "drawingissues",
"label": "图纸会审问题清单(设计联动)",
"kind": "list",
"path": "/supervision/drawingissues"
},
{
"key": "equipmentledger",
"label": "检测设备台账(领用/校准)",
"kind": "list",
"path": "/supervision/equipmentledger"
},
{
"key": "safetymonthly",
"label": "安全生产归集统计(项目视角)",
"kind": "list",
"path": "/supervision/safetymonthly"
},
{
"key": "archivetransfer",
"label": "竣工档案移交建设单位",
"kind": "list",
"path": "/supervision/archivetransfer"
}
],
"mfg": [
{
"key": "mrpengbom",
"label": "MRP净需求(新BOM结构)",
"kind": "list",
"path": "/mfg/mrpengbom"
},
{
"key": "fertsupplier",
"label": "供应商准入档案",
"kind": "list",
"path": "/mfg/fertsupplier"
},
{
"key": "fertworksuborder",
"label": "工序子工单与WIP",
"kind": "list",
"path": "/mfg/fertworksuborder"
},
{
"key": "fertprocessqc",
"label": "过程检验(发酵/造粒)",
"kind": "list",
"path": "/mfg/fertprocessqc"
},
{
"key": "fertrawmaterialqc",
"label": "原料检验(重金属)",
"kind": "list",
"path": "/mfg/fertrawmaterialqc"
},
{
"key": "fertwastewater",
"label": "废水专项管理",
"kind": "list",
"path": "/mfg/fertwastewater"
},
{
"key": "fertsolidwaste",
"label": "固废台账",
"kind": "list",
"path": "/mfg/fertsolidwaste"
},
{
"key": "fertocchealth",
"label": "职业健康管理",
"kind": "list",
"path": "/mfg/fertocchealth"
},
{
"key": "fertfinance",
"label": "财务集成与部门接口",
"kind": "list",
"path": "/mfg/fertfinance"
},
{
"key": "fertgasehs",
"label": "废气EHS与安全巡检",
"kind": "list",
"path": "/mfg/fertgasehs"
},
{
"key": "fertstocklot",
"label": "批次库存(原料/半成品/成品)",
"kind": "list",
"path": "/mfg/fertstocklot"
},
{
"key": "fertmps",
"label": "主生产计划(MPS)",
"kind": "list",
"path": "/mfg/fertmps"
},
{
"key": "fertsales",
"label": "销售订单与农化服务",
"kind": "list",
"path": "/mfg/fertsales"
},
{
"key": "fertbatchcost",
"label": "批次成本归集",
"kind": "list",
"path": "/mfg/fertbatchcost"
},
{
"key": "fertprocure",
"label": "采购/收购计划",
"kind": "list",
"path": "/mfg/fertprocure"
},
{
"key": "fertqcstandard",
"label": "成品检验与质量标准",
"kind": "list",
"path": "/mfg/fertqcstandard"
},
{
"key": "fertenergy",
"label": "能源消耗管理",
"kind": "list",
"path": "/mfg/fertenergy"
},
{
"key": "fertpackaging",
"label": "包装工单管理",
"kind": "list",
"path": "/mfg/fertpackaging"
}
],
"ehs": [
{
"key": "monitor-report",
"label": "监测报告生成",
"kind": "report",
"path": "/ehs/monitor-report"
},
{
"key": "emergency-resources",
"label": "应急物资台账",
"kind": "list",
"path": "/ehs/emergency-resources"
},
{
"key": "kpi-dashboard",
"label": "QHSE KPI总览",
"kind": "report",
"path": "/ehs/kpi-dashboard"
}
],
"archive": [
{
"key": "aclEnforce",
"label": "ACL执行与脱敏",
"kind": "list",
"path": "/archive/aclEnforce"
},
{
"key": "compliance",
"label": "合规与审计支持",
"kind": "report",
"path": "/archive/compliance"
},
{
"key": "crossmodule",
"label": "跨模块归档接口",
"kind": "list",
"path": "/archive/crossmodule"
}
],
"budget": [
{
"key": "costreport",
"label": "成本综合报表中心",
"kind": "report",
"path": "/budget/costreport"
}
],
"ops": [
{
"key": "detectionreport",
"label": "水质检测报告归档",
"kind": "report",
"path": "/ops/detectionreport"
},
{
"key": "occhealthlink",
"label": "职业健康专项联动",
"kind": "list",
"path": "/ops/occhealthlink"
},
{
"key": "processflow",
"label": "工艺流程实时监控",
"kind": "report",
"path": "/ops/processflow"
},
{
"key": "hazchem",
"label": "危化品双人双锁审批",
"kind": "list",
"path": "/ops/hazchem"
},
{
"key": "emergencysupply",
"label": "应急物资台账",
"kind": "list",
"path": "/ops/emergencysupply"
},
{
"key": "reagentcostalloc",
"label": "药剂费用分摊趋势",
"kind": "report",
"path": "/ops/reagentcostalloc"
},
{
"key": "mobilemonitor",
"label": "移动端实时监控",
"kind": "report",
"path": "/ops/mobilemonitor"
}
],
"crm": [
{
"key": "customer360",
"label": "客户全景视图360",
"kind": "list",
"path": "/crm/customer360"
},
{
"key": "bidquote",
"label": "投标报价明细",
"kind": "list",
"path": "/crm/bidquote"
},
{
"key": "oppstage",
"label": "商机阶段自定义配置",
"kind": "list",
"path": "/crm/oppstage"
},
{
"key": "performancescore",
"label": "经营业绩考核",
"kind": "report",
"path": "/crm/performancescore"
},
{
"key": "dailyreport",
"label": "市场日报/周报",
"kind": "list",
"path": "/crm/dailyreport"
},
{
"key": "branchlease",
"label": "办事处租赁合同",
"kind": "list",
"path": "/crm/branchlease"
},
{
"key": "mobile-crm",
"label": "移动CRM工作台",
"kind": "portal",
"path": "/crm/mobile-crm"
},
{
"key": "branchlicense",
"label": "分公司证照专项台账",
"kind": "list",
"path": "/crm/branchlicense"
},
{
"key": "branchdepreciation",
"label": "固定资产折旧台账",
"kind": "list",
"path": "/crm/branchdepreciation"
},
{
"key": "branchfinstatement",
"label": "分公司独立财务报表",
"kind": "report",
"path": "/crm/branchfinstatement"
}
],
"payment": [
{
"key": "collection",
"label": "应收催收管理",
"kind": "list",
"path": "/payment/collection"
},
{
"key": "cost-alloc",
"label": "费用分摊规则",
"kind": "list",
"path": "/payment/cost-alloc"
},
{
"key": "payee-blacklist",
"label": "收款方黑白名单",
"kind": "list",
"path": "/payment/payee-blacklist"
},
{
"key": "rolling-forecast",
"label": "滚动资金预测",
"kind": "report",
"path": "/payment/rolling-forecast"
},
{
"key": "fund-report",
"label": "资金报表分析",
"kind": "report",
"path": "/payment/fund-report"
},
{
"key": "financing",
"label": "融资与债务管理",
"kind": "list",
"path": "/payment/financing"
},
{
"key": "financing-approval",
"label": "融资申请审批",
"kind": "list",
"path": "/payment/financing-approval"
},
{
"key": "repayment",
"label": "还本付息",
"kind": "list",
"path": "/payment/repayment"
},
{
"key": "financing-cost",
"label": "融资成本分析",
"kind": "report",
"path": "/payment/financing-cost"
},
{
"key": "financing-structure",
"label": "融资结构分析(IRR)",
"kind": "report",
"path": "/payment/financing-structure"
},
{
"key": "post-loan",
"label": "贷后管理工作",
"kind": "list",
"path": "/payment/post-loan"
},
{
"key": "financing-contract",
"label": "融资合同台账",
"kind": "list",
"path": "/payment/financing-contract"
}
],
"finance": [
{
"key": "asset-inventory",
"label": "资产盘点(含双倍余额递减)",
"kind": "list",
"path": "/finance/asset-inventory"
},
{
"key": "period-close",
"label": "期末处理(结转/合并/附注)",
"kind": "report",
"path": "/finance/period-close"
},
{
"key": "ar-ap-auto",
"label": "应收/应付自动联动核销",
"kind": "list",
"path": "/finance/ar-ap-auto"
},
{
"key": "rd-closeout",
"label": "研发项目结题结转",
"kind": "list",
"path": "/finance/rd-closeout"
}
],
"legal": [
{
"key": "riskMeasure",
"label": "风险应对措施跟踪",
"kind": "list",
"path": "/legal/riskMeasure"
},
{
"key": "complianceCert",
"label": "合规证明文件",
"kind": "list",
"path": "/legal/complianceCert"
}
],
"audit": [
{
"key": "projects",
"label": "审计项目",
"kind": "list",
"path": "/audit/projects"
},
{
"key": "fraud",
"label": "舞弊监测与调查",
"kind": "list",
"path": "/audit/fraud"
},
{
"key": "economic",
"label": "经济责任审计",
"kind": "list",
"path": "/audit/economic"
},
{
"key": "operationaudit",
"label": "操作审计台账",
"kind": "list",
"path": "/audit/operationaudit"
},
{
"key": "dashboard",
"label": "风险仪表盘",
"kind": "list",
"path": "/audit/dashboard"
},
{
"key": "findings",
"label": "审计发现与问题登记",
"kind": "list",
"path": "/audit/findings"
},
{
"key": "rectification",
"label": "整改跟踪闭环",
"kind": "list",
"path": "/audit/rectification"
},
{
"key": "monitor",
"label": "持续监控与预警",
"kind": "list",
"path": "/audit/monitor"
},
{
"key": "workpapers",
"label": "审计工作底稿",
"kind": "list",
"path": "/audit/workpapers"
},
{
"key": "notices",
"label": "审计通知书",
"kind": "list",
"path": "/audit/notices"
},
{
"key": "procedures",
"label": "审计程序库",
"kind": "list",
"path": "/audit/procedures"
},
{
"key": "caats",
"label": "数据分析(CAATs",
"kind": "list",
"path": "/audit/caats"
},
{
"key": "annualplan",
"label": "年度审计计划",
"kind": "list",
"path": "/audit/annualplan"
},
{
"key": "materialrequest",
"label": "资料清单请求",
"kind": "list",
"path": "/audit/materialrequest"
},
{
"key": "archive",
"label": "审计档案与知识库",
"kind": "list",
"path": "/audit/archive"
},
{
"key": "qualityreview",
"label": "审计质量复核",
"kind": "list",
"path": "/audit/qualityreview"
},
{
"key": "dataaggregate",
"label": "跨模块数据聚合",
"kind": "report",
"path": "/audit/dataaggregate"
}
],
"culture": [
{
"key": "newsletter",
"label": "内刊成册管理",
"kind": "list",
"path": "/culture/newsletter"
},
{
"key": "brandChronicle",
"label": "企业大事记(宣传部)",
"kind": "list",
"path": "/culture/brandChronicle"
},
{
"key": "materialDownload",
"label": "素材授权下载追踪",
"kind": "list",
"path": "/culture/materialDownload"
},
{
"key": "cultureMobile",
"label": "移动端文化功能",
"kind": "list",
"path": "/culture/cultureMobile"
}
],
"hr": [
{
"key": "qual-year-check",
"label": "年检/年报任务·核查报告",
"kind": "list",
"path": "/hr/qual-year-check"
},
{
"key": "qual-analytics",
"label": "资质分析·日历·差距·ROI",
"kind": "report",
"path": "/hr/qual-analytics"
},
{
"key": "staff-self-service",
"label": "员工自助·证书上传·纠错",
"kind": "list",
"path": "/hr/staff-self-service"
}
],
"itasset": [
{
"key": "procurement",
"label": "IT采购管理",
"kind": "list",
"path": "/itasset/procurement"
},
{
"key": "accountaudit",
"label": "账号权限审计",
"kind": "list",
"path": "/itasset/accountaudit"
},
{
"key": "dataexport",
"label": "数据导出申请",
"kind": "list",
"path": "/itasset/dataexport"
},
{
"key": "sectraining",
"label": "IT信息安全培训",
"kind": "list",
"path": "/itasset/sectraining"
},
{
"key": "disasterdrill",
"label": "高可用与容灾",
"kind": "list",
"path": "/itasset/disasterdrill"
},
{
"key": "syslog",
"label": "IT系统日志台账",
"kind": "list",
"path": "/itasset/syslog"
}
],
"admin": [
{
"key": "cctv",
"label": "监控与门禁出入管理",
"kind": "list",
"path": "/admin/cctv"
},
{
"key": "training-courses",
"label": "培训课程与学习档案",
"kind": "list",
"path": "/admin/training-courses"
},
{
"key": "supplier",
"label": "供应商合同付款评价",
"kind": "list",
"path": "/admin/supplier"
},
{
"key": "survey",
"label": "满意度问卷与趋势",
"kind": "list",
"path": "/admin/survey"
},
{
"key": "vehicle-report",
"label": "车辆运行报表",
"kind": "list",
"path": "/admin/vehicle-report"
},
{
"key": "canteen-order",
"label": "食材采购建议联动",
"kind": "list",
"path": "/admin/canteen-order"
}
]
}
}