增加审批签名

This commit is contained in:
mzl
2025-09-11 16:52:10 +08:00
parent eb13146763
commit fe64299303
6 changed files with 64 additions and 19 deletions
@@ -129,6 +129,11 @@ class ApprovalFlowService
'updated_at' => $now,
]);
// 异步生成pdf文件 9.11 add
if ($action === 'approve') {
\Webman\RedisQueue\Redis::send('stock-order-pdf', ['id'=>$instance->biz_id]);
}
// 2) 聚合本步结论(any / all)
$typeRaw = strtolower($step['type'] ?? 'all');
$type = in_array($typeRaw, ['any','all']) ? $typeRaw : 'all';