simpleWorkflowAuditById static method
Future<ResponseStatus>
simpleWorkflowAuditById(
- String formId,
- List<
int> ids, - int userId,
- 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);
}