From de0a43285fe42719f6508a2cd4a5b120752d5321 Mon Sep 17 00:00:00 2001 From: zouhuu Date: Fri, 14 Apr 2023 07:31:50 +0000 Subject: [PATCH 1/2] =?UTF-8?q?update=20pom.xml.=20=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouhuu --- pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pom.xml b/pom.xml index 60a1598e..2113fb7e 100644 --- a/pom.xml +++ b/pom.xml @@ -183,11 +183,6 @@ pom - - - - - From f04ca57f7a3d8112e6c7f5c5a4dc72f1ba9e8edc Mon Sep 17 00:00:00 2001 From: zouhuu Date: Mon, 17 Apr 2023 08:08:44 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20ruoyi-generator/src/main/resources?= =?UTF-8?q?/mapper/generator/GenTableColumnMapper.xml.=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=94=9F=E6=88=90=E5=88=97=E5=AD=97=E6=AE=B5=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouhuu --- .../main/resources/mapper/generator/GenTableColumnMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml index 5ca05b12..b62365a9 100644 --- a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml +++ b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml @@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" )values( #{tableId}, #{columnName}, - (select SUBSTRING_INDEX(#{columnComment}, ' ', 1)), + #{columnComment}, #{columnType}, #{javaType}, #{javaField}, @@ -92,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update gen_table_column - column_comment = (select SUBSTRING_INDEX(#{columnComment}, ' ', 1)), + column_comment = #{columnComment}, java_type = #{javaType}, java_field = #{javaField}, is_insert = #{isInsert},