zs 1 year ago
parent
commit
4c8ad8fbdb
1 changed files with 1 additions and 1 deletions
  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) {
   async update(id, body) {
     if (body.status === '2')
     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);
     const result = await this.model.updateOne({ _id: id }, body);
     return result;
     return result;
   }
   }