package com.chinaweal.aiccs.aiccs.fraudreg.service;

import com.chinaweal.aiccs.aiccs.business.entity.TSTaskList;
import com.chinaweal.aiccs.aiccs.fraudreg.dto.FraudProcessDto;
import com.chinaweal.aiccs.aiccs.fraudreg.entity.RevokeTBizFraud;
import com.chinaweal.aicorg.model.AICUser;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseService;

import java.util.Map;

/**
 * <p>
 * 撤销撤销案件业务表 服务类
 * </p>
 *
 * @author lwd
 * @since 2023-02-13
 */
public interface RevokeFraudService extends BaseService<RevokeTBizFraud> {

    /**
     * 启动撤销撤销案件流程
     * Created by IDEA.
     * Code: lwd
     * Date: 2023/02/13
     * Time: 19:16
     */

    Map<String, String> startTaskRevokeTFraud(String uscc, String bizSeq, AICUser loginUser);

    String processControlrevokeTFraud(FraudProcessDto fraudProcessDto, TSTaskList tsTaskList, AICUser loginUser);

    void toHandleCancelCx(FraudProcessDto fraudProcessDto, TSTaskList tsTaskList, AICUser loginUser);

    void toOverCxFinish(FraudProcessDto fraudProcessDto, TSTaskList tsTaskList, AICUser loginUser);

    void toApprovalCancelCx(FraudProcessDto fraudProcessDto, TSTaskList tsTaskList, AICUser loginUser);

    void toApprovalCancelCxStartCxAccept(FraudProcessDto fraudProcessDto, TSTaskList tsTaskList, AICUser loginUser);

    void toHandleCancelCxStartCxAccept(FraudProcessDto fraudProcessDto, TSTaskList tsTaskList, AICUser loginUser);

    String toEndApprovalCancel(FraudProcessDto fraudProcessDto, TSTaskList tsTaskList, AICUser loginUser);
}
