1
0
forked from erp-dev/erp

feat: batch add parameters

This commit is contained in:
2026-01-07 16:33:33 +08:00
parent 5b07332015
commit beaa93c3cb
9 changed files with 722 additions and 15 deletions

View File

@@ -11,15 +11,18 @@
### 返回字段结构batch_advance_records
每条记录PrintingJobBatchAdvanceRecord包含
- `id`: 批量推进记录 ID
- `id`: 批量操作记录 ID
- `printing_order`: 主订单 ID
- `state`: 本次批量推进“完成”的流程节点 ID(即推进时的 next_pending_state
- `state`: 本次批量操作的流程节点 ID
- `state_id`: 同 `state`(便于前端直接取用)
- `state_name`: 节点名称
- `created_by`: 操作人用户 ID可能为 null
- `created_by_username`: 操作人用户名(可能为 null
- `created_by_name`: 操作人员工姓名(若用户有 employee则返回 employee.name否则 null
- `parameters`: 本次批量推进提交的参数 JSON(与推进接口 `parameters` 完全一致)
- `parameters`: 本次批量操作提交的参数 JSON
- `only_parameters`: 操作类型标识
- `false`(默认):批量推进状态
- `true`:仅批量补充工艺参数(不推进状态)
- `created_at`: 记录创建时间ISO8601
### 示例(无记录)
@@ -56,6 +59,7 @@
"temperature": "25.5",
"operator": "张三"
},
"only_parameters": false,
"created_at": "2025-12-14T10:00:00+08:00"
}
]