package com.hz.pm.api.projectlib.service;

import com.hz.pm.api.common.statemachine.event.ProjectStatusChangeEvent;
import com.hz.pm.api.projectlib.model.entity.ProjectStatusChange;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author CMM
 * @since 2023-02-27
 */
public interface INdProjectStatusChangeService extends IService<ProjectStatusChange> {

    ProjectStatusChange getByProjectStatus(ProjectStatusChangeEvent event, Long projectId);

    ProjectStatusChange getByProjectStatus(ProjectStatusChangeEvent event, Collection<Long> projectIds);

}
