如何使用velocity模板自动生成代码
问题描述:
例如,要定义包名,dao服务命名约定和依赖继承,自动生成dao,在相应的包中提供服务。不是每个dao,服务都是手写的,这可以大大提高开发效率。
For example, to define the package name, dao service naming conventions and dependency inheritance, automatic generation dao, service in the corresponding package. Not every dao, service are handwritten, this can greatly improve the development efficiency.
答