Closed monyuan closed 2 years ago
==> Preparing: select table_name tableName, engine, table_comment tableComment, create_time createTime from information_schema.tables where table_schema = (select database()) and table_name = ? ==> Parameters: test_user(String) <== Total: 0
直接执行sql的话是可以查到的,怀疑是不是SqlSession没切换过来?
环境问题
// 查询表信息 Map<String, String> table = generatorMapper.queryTable(data, genConfig.getDsName());
这里返回的是null