日志是
[DEBUG] 2018-02-24 08:49:08,469 org.nutz.plugins.cache.dao.CachedNutDaoExecutor.exec(CachedNutDaoExecutor.java:148) - sql = SELECT m.id,m.parentId,(SELECT p.name from sys_menu p WHERE p.id = m.parentId) as parentName,m.name,m.href,m.permission,m.type,m.icon,m.location from sys_menu m where 1 = 1 ORDER BY m.location ASC, tables = [sys_menu, sys_menu]
[DEBUG] 2018-02-24 08:49:08,470 org.nutz.plugins.cache.dao.CachedNutDaoExecutor.exec(CachedNutDaoExecutor.java:178) - not good for cache >> SELECT m.id,m.parentId,(SELECT p.name from sys_menu p WHERE p.id = m.parentId) as parentName,m.name,m.href,m.permission,m.type,m.icon,m.location from sys_menu m where 1 = 1 ORDER BY m.location ASC
[DEBUG] 2018-02-24 08:49:08,470 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - SELECT m.id,m.parentId,(SELECT p.name from sys_menu p WHERE p.id = m.parentId) as parentName,m.name,m.href,m.permission,m.type,m.icon,m.location from sys_menu m where 1 = 1 ORDER BY m.location ASC
[DEBUG] 2018-02-24 08:49:08,694 com.kanq.processor.LogTimeProcessor.process(LogTimeProcessor.java:22) - [GET ]URI=/sjw/platform/sys/menu/list 226ms
并没有做增删改的操作,就是重复查询,貌似没有进行缓存,同表关联查询也不能缓存吗?