瀏覽代碼

完善功能

gorden 8 月之前
父節點
當前提交
eba81f1971
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/admin/service/order/AppointmentService.php

+ 2 - 0
app/admin/service/order/AppointmentService.php

@@ -522,6 +522,8 @@ class AppointmentService
                     $paramsData['benefit_id'] = $params['quota_id'];
                     BenefitController::doWriteOff($paramsData);
                 }
+                // 回写权益ID
+                Appointment::where('appointment_id', $appointmentId)->update(['join_appointment_member_benefit_id' => $params['quota_id']]);
             }
 
             Db::commit();