package cn.autoform.web.mapper.process; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import cn.autoform.db.entity.ProcessInstance; @Mapper public interface ProcessInstanceMapper { /** * 添加流程实例 */ int addProcess(ProcessInstance processInstance); /** * 查询流程实例 */ ProcessInstance selectForm(@Param("id") String id); /** * 添加流程活动ID */ int updatePro(ProcessInstance processInstance); /** * 根据表单ID,datarownum查询流程实例ID */ ProcessInstance selectInst(@Param("pro") ProcessInstance pro,@Param("tenantID")String tenantID); ProcessInstance selectInsts(@Param("pro") String pro,@Param("tenantID")String tenantID); /** * 修改数据状态 */ int updateProState(@Param("processInstanceId")String processInstance); /** * 删除表单数据使用 */ ProcessInstance selectOne(ProcessInstance processInstance); }