fix(order): 拦截操作日志 businessId 误写仓库ID,改为订单ID,修复订单详情查不到拦截日志
This commit is contained in:
parent
e5196dc1ea
commit
3ba87b4baa
@ -4526,7 +4526,7 @@ ${numbered}`;
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
businessType: 'order',
|
businessType: 'order',
|
||||||
businessId: logWarehouseId,
|
businessId: orderId,
|
||||||
operationCode: 'ORDER_INTERCEPT_REQUEST',
|
operationCode: 'ORDER_INTERCEPT_REQUEST',
|
||||||
operator,
|
operator,
|
||||||
extras: {
|
extras: {
|
||||||
@ -6068,7 +6068,7 @@ ${numbered}`;
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
businessType: 'order',
|
businessType: 'order',
|
||||||
businessId: logWarehouseId,
|
businessId: orderId,
|
||||||
operationCode: 'ORDER_INTERCEPT_CANCEL',
|
operationCode: 'ORDER_INTERCEPT_CANCEL',
|
||||||
operator,
|
operator,
|
||||||
extras: {
|
extras: {
|
||||||
|
|||||||
@ -3693,7 +3693,7 @@ class RecheckOrderService extends OrderBaseService {
|
|||||||
const logWarehouseId = this.getOrderLogWarehouseId(warehouseId);
|
const logWarehouseId = this.getOrderLogWarehouseId(warehouseId);
|
||||||
await ctx.service.systems.operationLog.createOperationLog({
|
await ctx.service.systems.operationLog.createOperationLog({
|
||||||
businessType: 'order',
|
businessType: 'order',
|
||||||
businessId: logWarehouseId,
|
businessId: orderId,
|
||||||
operationCode: 'ORDER_INTERCEPT_CONFIRM',
|
operationCode: 'ORDER_INTERCEPT_CONFIRM',
|
||||||
operator,
|
operator,
|
||||||
extras: {
|
extras: {
|
||||||
@ -3883,7 +3883,7 @@ class RecheckOrderService extends OrderBaseService {
|
|||||||
const logWarehouseId = this.getOrderLogWarehouseId(warehouseId);
|
const logWarehouseId = this.getOrderLogWarehouseId(warehouseId);
|
||||||
await ctx.service.systems.operationLog.createOperationLog({
|
await ctx.service.systems.operationLog.createOperationLog({
|
||||||
businessType: 'order',
|
businessType: 'order',
|
||||||
businessId: logWarehouseId,
|
businessId: orderId,
|
||||||
operationCode: 'ORDER_INTERCEPT_CONFIRM',
|
operationCode: 'ORDER_INTERCEPT_CONFIRM',
|
||||||
operator,
|
operator,
|
||||||
extras: {
|
extras: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user