package cn.iocoder.yudao.module.bpm.api.definition;

import cn.iocoder.yudao.module.bpm.service.definition.BpmModelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class BpmModelApiImpl implements BpmModelApi {

    @Resource
    private BpmModelService modelService;

    @Override
    public Map<String, String> copyAndDeploy(String modelKey, String modelTenantId) {
        return modelService.copyAndDeploy(modelKey, modelTenantId);
    }
}
