class ProjectDao extends BaseDao {

    public Long getCountByIdAndName(Long id, String name) throws SQLException {
        return getCount("SELECT count(1) FROM project WHERE name='" + name + "' and id = " + id);
    }

}