|
@@ -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;
|
|
|
}
|