order对是否发货的判定不正确

This commit is contained in:
Xu Chang 2025-02-27 15:48:51 +08:00
parent 1e35bec400
commit fc21d99d94
3 changed files with 42 additions and 39 deletions

View File

@ -175,29 +175,30 @@ const checkers = [
type: 'row', type: 'row',
action: 'take', action: 'take',
filter: { filter: {
shipOrder$order: { pay$order: {
ship: { '#sqp': 'not in',
entity: { wpProduct: {
$exists: false, wechatMpShip$wpProduct: {
}, disabled: false,
},
}, },
} }
}
}
}, },
{ {
// 走异步take的order一定要有物流限制的小程序支付 // 走异步take的order一定要有物流限制的小程序支付
entity: 'order', entity: 'order',
type: 'row', type: 'row',
action: 'take', action: 'startTaking',
filter: { filter: {
shipOrder$order: { pay$order: {
ship: { wpProduct: {
entity: { wechatMpShip$wpProduct: {
$exists: true, disabled: false,
},
},
}, },
} }
}
}
}, },
{ {
entity: 'order', entity: 'order',

View File

@ -178,29 +178,30 @@ const checkers = [
type: 'row', type: 'row',
action: 'take', action: 'take',
filter: { filter: {
shipOrder$order: { pay$order: {
ship: { '#sqp': 'not in',
entity: { wpProduct: {
$exists: false, wechatMpShip$wpProduct: {
}, disabled: false,
},
}, },
} }
}
}
}, },
{ {
// 走异步take的order一定要有物流限制的小程序支付 // 走异步take的order一定要有物流限制的小程序支付
entity: 'order', entity: 'order',
type: 'row', type: 'row',
action: 'take', action: 'startTaking',
filter: { filter: {
shipOrder$order: { pay$order: {
ship: { wpProduct: {
entity: { wechatMpShip$wpProduct: {
$exists: true, disabled: false,
},
},
}, },
} }
}
}
}, },
{ {
entity: 'order', entity: 'order',

View File

@ -193,29 +193,30 @@ const checkers: Checker<EntityDict, 'order', RuntimeCxt>[] = [
type: 'row', type: 'row',
action: 'take', action: 'take',
filter: { filter: {
shipOrder$order: { pay$order: {
ship: { '#sqp': 'not in',
entity: { wpProduct: {
$exists: false, wechatMpShip$wpProduct: {
}, disabled: false,
},
}, },
} }
}
}
}, },
{ {
// 走异步take的order一定要有物流限制的小程序支付 // 走异步take的order一定要有物流限制的小程序支付
entity: 'order', entity: 'order',
type: 'row', type: 'row',
action: 'take', action: 'startTaking',
filter: { filter: {
shipOrder$order: { pay$order: {
ship: { wpProduct: {
entity: { wechatMpShip$wpProduct: {
$exists: true, disabled: false,
},
},
}, },
} }
}
}
}, },
{ {
entity: 'order', entity: 'order',