Route material pack batches to their own create endpoint
Material pack simulation uses POST /api/v1/simulation/create-material-pack-batch with approvalCode/nodeId/runMode in the request body; keep the shared create-batch payload for hosecloud single-number mode. Verification: material pack create on xiezihao staging returns 200 and ingests records (HY001/HY002, taskMode=simulation); 116 tests pass.
This commit is contained in:
1 parent
997f1f60ac
commit
baab26bcda
9 files changed
+138
-31
No files matched your search
+1
-2
@@ -740,7 +740,6 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
|
||||
disableAttachmentCache: booleanOption(args.options.disableAttachmentCache) ?? booleanOption(args.options["disable-attachment-cache"]),
|
||||
signKey: stringOption(args.options.signKey) ?? stringOption(args.options["sign-key"]),
|
||||
packageIds: splitOption(args.options.packageIds) ?? splitOption(args.options["package-ids"]),
|
||||
packageLabel: stringOption(args.options.packageLabel) ?? stringOption(args.options["package-label"]),
|
||||
templateId: stringOption(args.options.templateId) ?? stringOption(args.options["template-id"]),
|
||||
schemaConfig,
|
||||
rawParams: jsonObject(args.json)
|
||||
@@ -1621,7 +1620,7 @@ Usage:
|
||||
seal-home approval-runs bridge [--sourceDocumentSN B26001887] [--corp <corpId>]
|
||||
seal-home simulation batch-records <batchId> [--corp <corpId>]
|
||||
seal-home simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--corp <corpId>]
|
||||
seal-home simulation create --mode material_pack --package-ids <materialPackageId> [--package-label 名称] [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp <corpId>]
|
||||
seal-home simulation create --mode material_pack --package-ids <materialPackageId> [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp <corpId>]
|
||||
seal-home simulation list [--limit 50] [--corp <corpId>]
|
||||
seal-home simulation get <batchId> [--corp <corpId>]
|
||||
seal-home simulation templates [--corp <corpId>]
|
||||
|
||||
Reference in new issue
Block a user