소스 검색

生成模板去除导出

luojun 2 년 전
부모
커밋
010ca8c348

+ 1 - 1
soc-modules/soc-modules-gen/src/main/resources/vm/java/domain.java.vm

@@ -53,7 +53,7 @@ private static final long serialVersionUID=1L;
             @ApiModelProperty(value = "${comment}" , notes = "$column.readConverterExp()")
             #elseif($column.javaType == 'Date')
             @JsonFormat(pattern = "yyyy-MM-dd")
-            @ApiModelProperty(value = "${comment}" , width = 30, dateFormat = "yyyy-MM-dd")
+            @ApiModelProperty(value = "${comment}")
             #else
             @ApiModelProperty(value = "${comment}")
             #end

+ 1 - 1
soc-modules/soc-modules-gen/src/main/resources/vm/java/sub-domain.java.vm

@@ -44,7 +44,7 @@ private static final long serialVersionUID=1L;
             @ApiModelProperty(value = "${comment}" , notes = "$column.readConverterExp()")
             #elseif($column.javaType == 'Date')
             @JsonFormat(pattern = "yyyy-MM-dd")
-            @ApiModelProperty(value = "${comment}" , width = 30, dateFormat = "yyyy-MM-dd")
+            @ApiModelProperty(value = "${comment}")
             #else
             @ApiModelProperty(value = "${comment}")
             #end