class UserProjectDao extends BaseDao {

    public List<UserProject> getUsersByProjectId(Long projectId) throws SQLException {
        String sql = "SELECT id, project_id, user_id FROM user_project WHERE project_id = ?";
        return this.queryBySql(sql, UserProject.class, Parameter.integerOf(StringUtils.EMPTY, projectId));
    }

}