From b27a8afc3bdd809d9610a47b50a5ecc2f7f6e41a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Tue, 14 Sep 2021 12:03:58 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E5=A4=9A=E4=B8=BB?= =?UTF-8?q?=E9=94=AE=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-generator/src/main/resources/vm/java/vo.java.vm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ruoyi-generator/src/main/resources/vm/java/vo.java.vm b/ruoyi-generator/src/main/resources/vm/java/vo.java.vm index e717f2f0..489723ef 100644 --- a/ruoyi-generator/src/main/resources/vm/java/vo.java.vm +++ b/ruoyi-generator/src/main/resources/vm/java/vo.java.vm @@ -26,15 +26,9 @@ import java.util.Date; public class ${ClassName}Vo { private static final long serialVersionUID = 1L; -#if($pkColumn.isPk == 1) - /** - * $pkColumn.columnComment - */ - @ApiModelProperty("$pkColumn.columnComment") - private ${pkColumn.javaType} ${pkColumn.javaField}; -#end + #foreach ($column in $columns) -#if($column.isList && $column.isPk!=1) +#if($column.isList) /** * $column.columnComment */