정합성 문서 및 결재 입력 테스트 갱신

This commit is contained in:
JiWoong Sul
2025-10-17 16:09:57 +09:00
parent 7522f46693
commit b3da3a5c60
5 changed files with 544 additions and 162 deletions

View File

@@ -27,7 +27,12 @@ class ApprovalStepInput {
final payload = <String, dynamic>{
'step_order': stepOrder,
'approver_id': approverId,
if (statusId != null) 'status_id': statusId,
if (statusId != null) ...{
'status_id': statusId,
// 문서 계약은 `status_id`만 정의되어 있지만, 백엔드 운영 버전은 `step_status_id`
// 키도 필요하므로 두 키를 함께 전송해 상용·문서 계약을 모두 충족한다.
'step_status_id': statusId,
},
if (assignedAt != null)
'assigned_at': assignedAt!.toUtc().toIso8601String(),
if (decidedAt != null) 'decided_at': decidedAt!.toUtc().toIso8601String(),