| package com.zt.modules.workflowconfig.dao; | 
|   | 
| import com.zt.common.dao.BaseDao; | 
| import com.zt.modules.workflowconfig.model.WfDef; | 
| import com.zt.modules.workflowconfig.model.WfDefStep; | 
| import org.apache.ibatis.annotations.Mapper; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
| import java.util.Map; | 
|   | 
| @Mapper | 
| public interface WfDefDao extends BaseDao<WfDef> { | 
|   | 
|     int listWfdef(Long id); | 
|   | 
|     int listWfdefcode(String code); | 
|   | 
|     List<WfDef> wfDefList(Map<String, Object> params); | 
|   | 
|   | 
|     public List<WfDef> queryWfDef(@Param("wfDefId") Long wfDefId, @Param("wfDefCode") String wfDefCode); | 
|   | 
|     List<WfDef> getFlowList(); | 
|     List<WfDefStep> getFlowStepList(String flowId); | 
|   | 
|     List<WfDef> wfDefList2(Map<String, Object> params); | 
|   | 
|     List<WfDef> getStyleList(Map<String, Object> params); | 
|   | 
|     int getPlanStatus(Long bizId); | 
|   | 
|     int getRoleCount(Long userId, String code); | 
| } |