Index: forgon-core/src/main/java/com/forgon/log/service/LogManagerImpl.java =================================================================== diff -u -r30689 -r30722 --- forgon-core/src/main/java/com/forgon/log/service/LogManagerImpl.java (.../LogManagerImpl.java) (revision 30689) +++ forgon-core/src/main/java/com/forgon/log/service/LogManagerImpl.java (.../LogManagerImpl.java) (revision 30722) @@ -207,7 +207,7 @@ try{ Long maxId = null; - String sql1 = String.format("select max(id) from %s where operationType=\'%s\'", Log.class.getSimpleName(), operationType); + String sql1 = String.format("select max(id) id from %s where operationType=\'%s\'", Log.class.getSimpleName(), operationType); ResultSet rs = null; try { rs = objectDao.executeSql(sql1);