Mysql 字段翻译注释
如下:
select concat(COLUMN_NAME, if(COLUMN_COMMENT = '', ' ', ' `'), COLUMN_COMMENT, if(COLUMN_COMMENT = '', '', '`'), ',') params
from information_schema.COLUMNS
where TABLE_SCHEMA = 'cloud_pm_dev'
and TABLE_NAME = 'pm_hot_work'
order by ORDINAL_POSITION;