cancel_by_hand

ReconciliationMsEngine.cancel_by_hand(task_id, type, base_data_ids=None, cpr_data_ids=None)

手工取消暂挂或者不参与匹配

参数
  • task_id (str) – 匹配批次id

  • type (int) – 操作类型: 0 取消挂起 1 取消不参与匹配

  • base_data_ids (Optional[List[str]]) – 选择的基础数据ids

  • cpr_data_ids (Optional[List[str]]) – 选择的对比数据集ids

示例

auto_process = ReconciliationMsEngines('ms_3')
auto_process.cancel_by_hand(
    'T20230417181208780',
    type=0,
    base_data_ids=["08GTWH000002", "08GTWH000003"],
)
返回类型

int