sunbta/README.md

31 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

sunbta
二类账户系统
CodeUtil TEST:
sunbta-webapp模块下加入了如下临时文件用于对生成的代码进行测试标志如下
TODO this file is tmp for codeutil generate test
1.sunbta-webapp/pom.xml
2.sunbta-webapp/applicationContext.xml
3.sunbta-webapp/resource/jdbc.properties
CodeUtil 工作顺序:
1.通过CodeUtil生成后需要加入如下信息
sunbta-common/applicationContext-dubbo.xml的dubbo:annotation package加入service package
2.把生成在sunbta-webapp中相应的文件放到对应的子模块中
entity包、page包和I***service接口放到sunbta-facade-*里
dao(mapper)包放到sunbta-dao里
resources/***Mapper.xml放到sunbta-dao里
***service实现类放到sunbta-provider-*里
3.sunbta-dao/pom.xml中加入sunbta-facade-*项目依赖
4.sunbta-webapp/applicationContext.xml中加入 dubbo:reference
启动过程
1.前提为数据库/zookeeeper/redis/rabbitmq均已启动
2.先双击sunbta目录下的tx-manager.cmd启动
3.运行sunbta-provider-auth项目
4.然后运行sunbta-gateway或sunbta-webapp项目