加上这句就可以了。 不知道什么他原本的代码里面有没有这个问题,我这里是用的这个blade-tool
blade-tool
map.put("codeName" , (tableInfo.getComment()));