# gou-dan-fromwork-archetype **Repository Path**: michea/gou-dan-fromwork-archetypeg ## Basic Information - **Project Name**: gou-dan-fromwork-archetype - **Description**: 申阳代码模板,用于生成申阳风格的代码 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-11 - **Last Updated**: 2024-06-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 狗蛋项目模板 ### 项目计划: 应用框架:spring boot,spring cloud ,tkMybatis 应用中间件配置:xxlJob,dubbo,rabbit 封装业务:Mybatis反向生成工具,自定义sql批量处理插件 封装Controller拦截器,统一异常和正常返回格式 封装DO,Enum统一风格 mvn archetype:generate -DarchetypeCatalog=local -DgroupId=com.geely.businessanalysis -DartifactId=business-analysis-center -DarchetypeGroupId=com.shen -DarchetypeArtifactId=gou-dan-fromwork-archetype -DarchetypeVersion=0.0.1-SNAPSHOT -DinteractiveMode=false ### 项目 命令如下: '''mvn archetype:generate -DarchetypeCatalog=local -DgroupId=com.geely.mall.payment -DartifactId=payment-center -DarchetypeGroupId=com.shen -DarchetypeArtifactId=gou-dan-fromwork-archetype -DarchetypeVersion=0.0.1-SNAPSHOT -DinteractiveMode=false''' ### 参数说明: -DarchetypeGroupId: 自定义archetype的groupId/ -DarchetypeArtifactId: 自定义archetype的artifactId/ -DarchetypeVersion: 自定义archetype的版本号/ -DgroupId: 要生成的工程的groupId/ -DartifactId: 要生成的工程的artifactId/ -Dpackage: 要生成的工程的包名/ -Dversion: 要生成的工程的版本号/ -DserverPort: 自定义变量,服务端口/ -DcontextPath: 自定义变量,服务路径/ ### 项目结构: - application-web(项目入口、web请求,定时任务) / - biz-业务处理层 / - common-(模型、dao层、枚举、工具) / - core-(核心业务处理) / - integration-(调用dubbo、mq接口) / - facade(对外暴露服务包-如:dubbo or feign接口) / - service(作为对外暴露包实facade现层)/ #### 流程案例: Web-》facade-》service-》biz-》data-core