lrf 2 tahun lalu
induk
melakukan
d9a7ae46b9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/service/business/lessonStudent.js

+ 1 - 1
app/service/business/lessonStudent.js

@@ -116,7 +116,7 @@ class LessonStudentService extends CrudService {
         // 有余额扣款部分,查账单把钱加上
         const billId = _.get(payOrder, 'config,bill');
         const bill = await this.billModel.findById(billId);
-        obj.money = _.get(obj, 'money', 0) + _.get(bill, 'money', 0);
+        // obj.money = _.get(obj, 'money', 0) + _.get(bill, 'money', 0);
         bill.is_pay = '-3';
         await bill.save();
       }