Skip to content

创建success_killed表没有设置create_time自动更新 #39

@LinG955

Description

@LinG955

``create_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间'
要设置create_time自动更新,因为insertSuccessKilled()没有插入create_time,create_time为默认值00-00-00 00:00:00。不然在测试queryByIdWithSeckill()时程序会报错:Caused by: com.mysql.cj.exceptions.DataReadException: Zero date value prohibited

TIM截图20200518200101

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions