class DataBaseDao extends BaseDao {

    public Long getTotalCount(Paging<DataBaseInfo> paging) throws SQLException {
        String sql = "SELECT count(1) FROM alldbs a LEFT JOIN dal_group b ON b.id = a.dal_group_id " + appenWhere(paging);
        log.info("getTotalCount--->" + sql);
        return this.getCount(sql);
    }

}