代码生成器生成代码样式调整
This commit is contained in:
@@ -131,7 +131,11 @@ spring:
|
|||||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
||||||
datasource:
|
datasource:
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://10.0.3.44:3306/jero-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
# url: jdbc:mysql://10.0.3.44:3306/jero-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||||
|
# username: root
|
||||||
|
# password: 123456
|
||||||
|
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://127.0.0.1:3306/jero-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
|||||||
+1
@@ -29,4 +29,5 @@
|
|||||||
<#else>
|
<#else>
|
||||||
@ApiModelProperty(value = "${po.filedComment}")
|
@ApiModelProperty(value = "${po.filedComment}")
|
||||||
private ${po.fieldType} ${po.fieldName};
|
private ${po.fieldType} ${po.fieldName};
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
-1
@@ -109,7 +109,6 @@ public class ${entityName} implements Serializable {
|
|||||||
@javax.validation.constraints.Pattern(regexp = "(^[1-9]([0-9]+)?(\\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\\.[0-9]([0-9])?$)",message = "请输入正确的金额")
|
@javax.validation.constraints.Pattern(regexp = "(^[1-9]([0-9]+)?(\\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\\.[0-9]([0-9])?$)",message = "请输入正确的金额")
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#include "/common/blob.ftl">
|
<#include "/common/blob.ftl">
|
||||||
</#list>
|
</#list>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user