class ProjectDao extends BaseDao {

    public int updateTokenByAppId(String app_id, String token) throws SQLException {
        Project project = getProjectByAppId(app_id);
        project.setToken(token);
        return updateProject(project);
    }

}