Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
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.

None yet

1 participant