[management]修改JDK1.6环境时的编译报错问题

This commit is contained in:
datagear 2018-09-17 20:42:54 +08:00
parent 80382a2103
commit 1284b2e469
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ public abstract class AbstractMybatisService<T> extends SqlSessionDaoSupport
addIdentifierQuoteParameter(params);
addQueryaram(params, pagingQuery);
int total = selectOneMybatis(statement + "Count", params);
int total = (Integer) selectOneMybatis(statement + "Count", params);
PagingData<T> pagingData = new PagingData<T>(pagingQuery.getPage(), total, pagingQuery.getPageSize());