package com.hotent.portal.service;

import com.hotent.base.manager.BaseManager;
import com.hotent.base.model.CommonResult;
import com.hotent.portal.model.PortalDingTodoTask;
import com.hotent.portal.params.IndexLayoutVo;

import java.io.IOException;
import java.util.List;

/**
 * @description  流程任务和钉钉待办任务关联表
 * @author  yangzibin
 * @date    2024/3/20 15:04
 * @param	null
 * @return
 */
public interface PortalDingTodoTaskService extends BaseManager<PortalDingTodoTask> {
    /**
     * @description  根据流程id查询钉钉待办id
     * @author  yangzibin
     * @date    2024/3/20 15:17
     * @param	todoTaskId
     * @param	dingUserId
     * @return  com.hotent.portal.model.PortalDingTodoTask
     */
    List<PortalDingTodoTask> queryEntityById(String todoTaskId, String dingUserId);

    void saveEntity(String dingTodoTaskId,String dingtalkIds,String userDingUnionId,String taskId,String orgId);

}
