|
@@ -801,7 +801,8 @@ export class OrderService extends BaseService {
|
|
}
|
|
}
|
|
const merchant = await this.merchantEntity.findOne({
|
|
const merchant = await this.merchantEntity.findOne({
|
|
where: {
|
|
where: {
|
|
- id: Number(order.merchantId),
|
|
|
|
|
|
+ // id: Number(order.merchantId),
|
|
|
|
+ mchId: order.merchantId
|
|
},
|
|
},
|
|
});
|
|
});
|
|
const rate = await this.rateEntity.findOne({
|
|
const rate = await this.rateEntity.findOne({
|