7863-devToTest_2434 #2852
|
@ -154,9 +154,10 @@ module.exports = Self => {
|
|||
case 'awbCode':
|
||||
return {'sub.code': value};
|
||||
case 'correctingFk':
|
||||
if (!correcteds.length && !args.correctingFk) return;
|
||||
return args.correctingFk
|
||||
? {'ii.id': {inq: correcteds.map(x => x.correctingFk)}}
|
||||
: {'ii.id': {nin: correcteds.map(x => x.correctingFk)}};
|
||||
? {['ii.id']: {inq: correcteds.map(x => x.correctingFk)}}
|
||||
: {['ii.id']: {nin: correcteds.map(x => x.correctingFk)}};
|
||||
case 'correctedFk':
|
||||
return {'ii.id': {inq: correctings.map(x => x.correctingFk)}};
|
||||
case 'supplierActivityFk':
|
||||
|
|
Loading…
Reference in New Issue