Browse Source

完善功能

gorden 8 tháng trước cách đây
mục cha
commit
eba81f1971
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();