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',
action: 'take',
filter: {
shipOrder$order: {
ship: {
entity: {
$exists: false,
},
},
pay$order: {
'#sqp': 'not in',
wpProduct: {
wechatMpShip$wpProduct: {
disabled: false,
},
}
}
}
},
{
// 走异步take的order一定要有物流限制的小程序支付
entity: 'order',
type: 'row',
action: 'take',
action: 'startTaking',
filter: {
shipOrder$order: {
ship: {
entity: {
$exists: true,
},
},
pay$order: {
wpProduct: {
wechatMpShip$wpProduct: {
disabled: false,
},
}
}
}
},
{
entity: 'order',

View File

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

View File

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