private long total(String where, Object... params) {
        if (logDbProperties.isEnabled()) {
            return dbHelper.query("select count(*) from t_logger where " + where, new ScalarHandler<>(), params);
        } else {
            throw new NotEnableLogException("not enable logger");
        }
    }
private long total(String where, Object... params) {
        if (logDbProperties.isEnabled()) {
            return dbHelper.query("select count(*) from t_logger where " + where, new ScalarHandler<>(), params);
        } else {
            throw new NotEnableLogException("not enable logger");
        }
    }
private long total ( String where , Object ... params ) { if ( logDbProperties . isEnabled ( ) ) { return dbHelper . query ( "select count(*) from t_logger where " + where , new ScalarHandler <> ( ) , params ) ; } else { throw new NotEnableLogException ( "not enable logger" ) ; } }
按筛选条件获取记录数

@param where  where条件部分
@param params 参数
@return 总共记录数
按筛选条件获取记录数