Skip to content

修复mysql8.0.19版本代码生成无法识别数据类型的bug#12

Open
GoRoad wants to merge 4 commits intoyangzongzhuan:masterfrom
GoRoad:master
Open

修复mysql8.0.19版本代码生成无法识别数据类型的bug#12
GoRoad wants to merge 4 commits intoyangzongzhuan:masterfrom
GoRoad:master

Conversation

@GoRoad
Copy link

@GoRoad GoRoad commented Jul 17, 2020

  `month` int unsigned NOT NULL COMMENT '月'
    /** 月 */
    @Excel(name = "月")
    private $column.javaType month;

    /** 日期 */
    @Excel(name = "日期")
    private Long day;`

例如:被unsigned修饰的int类型无法被正常识别
从8.0.17版本开始,TINYINT, SMALLINT, MEDIUMINT, INT, and BIGINT类型的显示宽度失效,因此无法通过判断字段宽度区分int和Long

GoRoad and others added 4 commits July 17, 2020 15:04
    /** 年 */
    @Excel(name = "年")
    private $column.javaType year;

    /** 月 */
    @Excel(name = "月")
    private $column.javaType month;

    /** 日期 */
    @Excel(name = "日期")
    private Long day;

int类型数据无法识别
修复mysql8.0.19版本代码生成无法识别数据类型的bug
@yangzongzhuan yangzongzhuan force-pushed the master branch 2 times, most recently from f47bea6 to f6e477b Compare October 10, 2021 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant