@Override
    public String count(List<String> where) {
        StringBuilder sql = new StringBuilder();
        String method = "SELECT ";
        sql.append(method);
        sql.append("COUNT(*) FROM ");
        sql.append(getTableName());
        sql.append(" ");

        if (null == where || where.size() == 0) {
            return sql.toString();
        }

        appendWhereClause(where, sql);

        return sql.toString();
    }
@Test
    void testCountAll() {
        String sql = abstractMapper.count(null);
        assertEquals("SELECT COUNT(*) FROM tenant_info ", sql);
    }