JavaProjectRepo/business-css/README.md

19 lines
835 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Critical Scenario Simulator (CSS)
临界事故情景分析模拟系统CSS业务模块。
## 后端模块
- Maven 模块路径:`business-css/`
- 依赖复用:依赖 `framework` 生成的 classes JAR`com.yfd:platform:1.0`)。
- 按需添加业务领域代码(实体、服务、控制器)。
## 前端模块
- 目录:`business-css/frontend/`
- 初始化方式:从 `framework/frontend` 复制基线前端后进行业务化开发。
- 同步机制:使用 `scripts/sync-frontend.ps1` 从基线前端同步公共目录(排除环境配置)。
## 初始化步骤
1. 执行前端同步脚本,初始化 `business-css/frontend`
2. 安装前端依赖:`pnpm i` 或 `npm ci`
3. 启动前端:`pnpm dev` 或 `npm run dev`
4. 后端模块使用 `mvn -pl business-css -am clean verify` 构建与测试。