zs 1 năm trước cách đây
mục cha
commit
4c8ad8fbdb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/service/Upkeep.service.ts

+ 1 - 1
src/service/Upkeep.service.ts

@@ -21,7 +21,7 @@ export class UpkeepService extends BaseService<modelType> {
 
   async update(id, body) {
     if (body.status === '2')
-      await this.orderModel.updateOne({ _id: body.order_id }, { status: '9' });
+      await this.orderModel.updateOne({ _id: body.order_id }, { status: '10' });
     const result = await this.model.updateOne({ _id: id }, body);
     return result;
   }