# cqrt **Repository Path**: piestarcode/cqrt ## Basic Information - **Project Name**: cqrt - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-12 - **Last Updated**: 2025-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # IntePLM二次开发项目搭建脚手架 ## 脚手架的使用方法 > 前提:确保maven仓库中已经包含了脚手架(需要上传脚手架) ### 1.脚手架的GAV坐标(groupId:com.hustcad ; artifactId:hustcad-inteplm-archetype , version:版本号同IntePLM标准版发布版本) ### 2.通过idea生成脚手架 #### 2.1 打开IDEA,点击File->New->Project #### 2.2 点击create from Archetype->Add Archetype, 输入脚手架的GAV坐标,点击ok #### 2.3 自定义项目的gav坐标,输入maven settings.xml的坐标和仓库(此仓库必须包含脚手架),一路点击next就可以了 ##脚手架的项目结构 ``` parent ├── ${artifactId}-api 二次开发模块接口层:内部接口定义、Controller的定义、对外Restful请求实现 ├──scr ├──main 二次开发模块 ├──java java文件目录 ├──resource 静态资源文件目录 ├──test 二次测试模块 ├──java java文件目录 ├──resource 静态资源文件目录 ├──pom.xml 子模块jar包依赖 ├── ${artifactId}-service 二次开发模块实现层:负责实现接口层逻辑实现,mapper的定义 ... ├── ${artifactId}-entity 二次开发模块实体层:对外的VO定义、持久化层实体定义、常量定义 ... ├── pom.xml parent模块的依赖声明 ├── settings.xml 二次开发现场maven的setttings配置 ├── .gitignore 二次开发现场git提交忽略文件清单 ├── .editorconfig 二次开发代码格式规范文件 ``` ## 3 如何在脚手架中开发 在生成的项目中,找到parent模块,parent模块下有个pom.xml,在该xml中有个properties标签, 其中定义了pdm.ty.version(中台的版本号),每次跟随IntePLM标准版同步升级修改即可。 ## 4 项目环境 | Middleware | Version | Remark | | :----------- | :------------------- | :------------------------------------------- | | JDK | 1.8.0_172 | JDK1.8.172 and above | | Tomcat Embed | 9.0.68 | Web Server | | PostgreSQL | 12.2 | Database | | Dameng | V8 | Database | | Oracle | 12c | Database | | Redis | 5.0.14 | Cache middleware | | Minio | 2021-08-05T22-01-19z | File Storage Services | | kafka | 2.8.0 | Message Queuing Service | | zookeeper | 3.5.9 | Distributed Application Coordination Service | | RabbitMQ | 3.8.9 | Message Queuing Service | | Flowable | 6.4.0 | Process components | | nacos | 2.0.4 | Registry Service & Discovery Center | | swagger | 1.8.0.RELEASE | Online Documents | | openoffice | 3.2.1 | Common Document Conversion Plugin | ## 5 技术选型 | Component | Version | Remark | | -------------------- | ----------------- | -------------------------------- | | Spring Boot | 2.4.3 | | | Spring Framework | 5.2.9.RELEASE | | | Alibaba Spring Cloud | 2021.1 | | | inteplm-pdm | 2.1.1113-SNAPSHOT | Base PDM dependency package | | inteplm-mda | 2.1.1113-SNAPSHOT | Base MDA dependency package | | inteplm-backend | 2.1.1113-SNAPSHOT | Base backend dependency package | | Logback | 1.2.10 | | | Sentinel | 1.8.1 | | | Mybatis | 3.5.6 | DAO Framework | | Tk Mybatis | 4.2.2 | mybatis Enhanced framework | | Druid | 1.1.22 | DataSource | | Jjwt | 0.11.2 | | | Liquibase | 3.8.9 | | | Spring-kafka | 2.5.3.RELEASE | Spring Kafka | | Kafka-clients | 2.7.2 | Kafka client | | Fastjson | 1.2.83 | JSON processing toolset | | Commons-lang3 | 3.11 | Apache language toolkit | | Commons-io | 2.8.0 | Apache IO Toolkit | | Commons-text | 1.10.0 | Apache Text Toolkit | | Hutool | 5.5.7 | Common toolset | | POI | 5.2.2 | Document Toolkit | | pageHelper | 5.3.2 | | | Jedis | 3.5.2 | Redis Client | | OkHttp3 | 4.10.0 | HTTP Request Client | | Mapstruct | 1.3.1.Final | Object property replication tool | | Mybatis-plus | 3.3.2 | | | Dom4j | 2.1.3 | | | Zip4j | 2.10.0 | | | Thumbnailator | 0.4.19 | Image Compression Kit |