fix: sync material tag on report publish
This commit is contained in:
@@ -2150,6 +2150,8 @@ class AppraisalTasksController
|
||||
$verify = $this->createOrUpdateVerifyRecord($report, $now);
|
||||
|
||||
if (($report['report_type'] ?? 'appraisal') === 'appraisal' && (int)($report['order_id'] ?? 0) > 0) {
|
||||
(new MaterialTagService())->syncBoundTagForReport($report, $request);
|
||||
|
||||
Db::name('orders')->where('id', (int)$report['order_id'])->update([
|
||||
'order_status' => 'report_published',
|
||||
'display_status' => '报告已出具',
|
||||
|
||||
Reference in New Issue
Block a user