class AppGroupDao extends BaseDao {

    public Long getCountByName(String name) throws SQLException {
        String sql = "SELECT count(1) FROM app_group WHERE name='" + name + "'";
        return this.getCount(sql);
    }

}