package com.engine.kq.wfset.util;

import com.engine.kq.biz.KQFlowActiontBiz;
import com.engine.kq.enums.DurationTypeEnum;
import com.engine.kq.wfset.bean.SplitBean;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Map;
import weaver.hrm.resource.ResourceComInfo;

public class KQFlowOtherUtil {



  /**
   * 拆分异常流程数据 生成数据到splitBeans
   * @param sqlMap
   * @param splitBeans
   * @param datetimeFormatter
   * @param workflowId
   * @param requestId
   * @param rci
   * @return
   * @throws Exception
   */
  public Map<String,String> handleKQOtherAction(Map<String, String> sqlMap,
      List<SplitBean> splitBeans, DateTimeFormatter datetimeFormatter, int workflowId,
      int requestId, ResourceComInfo rci) throws Exception{

    KQFlowActiontBiz kqFlowActiontBiz = new KQFlowActiontBiz();
    return kqFlowActiontBiz.handleAction(sqlMap,splitBeans, datetimeFormatter, workflowId,requestId, rci,DurationTypeEnum.OTHER);
  }
}
