class ProjectDao extends BaseDao {

    public int updateProjectAppGroupIdById(Long appGroupId, Set<Long> projectIds) throws SQLException {
        String sql = "update project set app_group_id = ? where id in (" + StringUtil.joinCollectByComma(projectIds) + ") ";
        return this.updataBysql(sql, Parameter.integerOf(StringUtils.EMPTY, appGroupId));
    }

}