some common tools
在pom中引入依赖
<dependency>
<groupId>cn.jorianye.common</groupId>
<artifactId>tools</artifactId>
<version>1.0.0</version>
</dependency>
如果要使用代码生成器,在项目resources下创建generator.properties配置文件 内容如下:
x-generator.module=
x-generator.pkg.parent=cn.jorian.core
x-generator.pkg.module=system
x-generator.ds.driver=com.mysql.jdbc.Driver
x-generator.ds.url=jdbc:mysql://127.0.0.1:3306/jorian_framework?useUnicode=true&characterEncoding=utf-8
x-generator.ds.username=root
x-generator.ds.password=xxxxx
x-generator.table.names=sys_user,sys_log
x-generator.table.prefix=
x-generator.base.entity=cn.jorian.generator.BaseModel
x-generator.base.entity.fields=id,createTime,updateTime
x-generator.base.controller=
x-generator.entity.name=%sEntity
x-generator.author=jorian