gorden hai 8 meses
pai
achega
eba81f1971
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();