From 10f32b94684828c0df008667ba42582187e1a3d4 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Thu, 19 Mar 2020 22:57:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9double=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=9A=84set=E6=96=B9=E6=B3=95=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/codetemplate/default/pojo/dto.ftl | 2 +- .../main/resources/templates/codetemplate/default/pojo/vo.ftl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/dto.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/dto.ftl index 0c97d11..f28b017 100644 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/dto.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/dto.ftl @@ -65,7 +65,7 @@ public class ${firstUpperTableName}DTO { return ${field.fieldName} == null ? 0D : ${field.fieldName}; } - public void set${field.firstUpperFieldName}(String ${field.fieldName}) { + public void set${field.firstUpperFieldName}(Double ${field.fieldName}) { this.${field.fieldName} = ${field.fieldName}; } diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/vo.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/vo.ftl index 3f0914a..58d99fa 100644 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/vo.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/pojo/vo.ftl @@ -80,7 +80,7 @@ public class ${firstUpperTableName}VO { return ${field.fieldName} == null ? 0D : ${field.fieldName}; } - public void set${field.firstUpperFieldName}(String ${field.fieldName}) { + public void set${field.firstUpperFieldName}(Double ${field.fieldName}) { this.${field.fieldName} = ${field.fieldName}; }