diff --git a/pom.xml b/pom.xml index 60a1598eb..2113fb7e4 100644 --- a/pom.xml +++ b/pom.xml @@ -183,11 +183,6 @@ pom - - - - - diff --git a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml index 5ca05b121..b62365a9a 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},