2021-06-18

39 阅读1分钟

解决mybatis在mysql中查询字段为关键字的问题

关键字value key 直接单表自联,要不然mybatis xml不给过

 select a.id, a.create_by, a.create_time, a.update_by, a.update_time, a.value, a.key, a.factory_id from lock_factory_secret a