simpleWorkflowAuditById static method

Future<ResponseStatus> simpleWorkflowAuditById(
  1. String formId,
  2. List<int> ids,
  3. int userId,
  4. ApprovalType approval,
)

Implementation

static Future<ResponseStatus> simpleWorkflowAuditById(String formId, List<int> ids, int userId, ApprovalType approval) async {
  var resp = await K3Client.getInstance().operate(
    WorkflowAuditParam.builder()
      .formId(formId)
      .ids(ids)
      .userId(userId)
      .approvalType(approval.index+1)
      .build()
  );
  return ResponseStatus.fromJson(resp);
}