JEECGBOOT 补丁:导入数据库,备注没有同时导入,默认了英文,执行下面的脚本即可修改为备注

    技术2025-02-26  13

    大多数情况下,并不会采用在线直接设计表结构,大多时候是使用工具设计,然后导入系统 当前的online 并不支持直接转化为table_comment ,即默认了table_name

    update onl_cgform_head ,(select * from information_schema.TABLES where table_schema='你的表名') name set table_txt = name.table_comment where onl_cgform_head.table_name =name.table_name and onl_cgform_head.create_time>'导入日期 00:00:00'

    直接效果

    Processed: 0.009, SQL: 9