xielin il y a 5 ans
Parent
commit
8052ecbebc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Repositories/BehaviorRecordRepositories.php

+ 1 - 1
app/Repositories/BehaviorRecordRepositories.php

@@ -217,7 +217,7 @@ class BehaviorRecordRepositories
             $data['quantity_issued'] = $comment['quantity_issued'];
             $data['current_comment_id'] = $comment['current_comment_id'];
             $data['superior_comment_id'] = $comment['superior_comment_id'];
-            $this->generalLedgerRecord->create($data);
+            $this->commentAccountRecord->create($data);
             $behavior = Behavior::where('virus_behavior_id',$comment['virus_behavior_id'])->first();
             $behavior->physical_strength += intval($comment['physical_exertion']);
             $behavior->grant_rainbow_beans += intval($comment['quantity_issued']);