package com.huigou.bpm.management.repository;

import com.huigou.bpm.management.domain.model.ServiceMapping;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author yonghuan
 */
public interface ServiceMappingRepository extends JpaRepository<ServiceMapping, String> {

    void deleteByProcdefIdAndActivityCode(String procdefId, String activityCode);

    ServiceMapping findByProcdefIdAndActivityCode(String procdefId, String activityCode);

}
