package com.zt.modules.workflow.service; 
 | 
  
 | 
import com.zt.common.db.query.QueryFilter; 
 | 
import com.zt.common.service.BaseService; 
 | 
import com.zt.modules.workflow.dao.WfRunInstanceDao; 
 | 
import com.zt.modules.workflow.model.WfRunInstance; 
 | 
import com.zt.modules.workflowconfig.dao.WfDefDao; 
 | 
import com.zt.modules.workflowconfig.model.WfDef; 
 | 
import org.springframework.beans.factory.annotation.Autowired; 
 | 
import org.springframework.stereotype.Service; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
@Service 
 | 
public class WfRunInstanceService extends BaseService<WfRunInstanceDao, WfRunInstance> { 
 | 
  
 | 
    public WfRunInstance getFlowInstance(String wfCode, Long bizId){ 
 | 
        WfRunInstance wfRunInstance = baseDao.getFlowInstance(wfCode,bizId); 
 | 
        return wfRunInstance; 
 | 
    } 
 | 
  
 | 
} 
 |