7863-devToTest_2434 #2852

Merged
alexm merged 129 commits from 7863-devToTest_2434 into test 2024-08-13 06:50:25 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 8ab049be0d - Show all commits

View File

@ -157,8 +157,8 @@ module.exports = Self => {
case 'correctingFk': case 'correctingFk':
if (!correcteds.length && !args.correctingFk) return; if (!correcteds.length && !args.correctingFk) return;
return args.correctingFk return args.correctingFk
? {['ii.id']: {inq: correcteds.map(x => x.correctingFk)}} ? {'ii.id': {inq: correcteds.map(x => x.correctingFk)}}
: {['ii.id']: {nin: correcteds.map(x => x.correctingFk)}}; : {'ii.id': {nin: correcteds.map(x => x.correctingFk)}};
case 'correctedFk': case 'correctedFk':
return {'ii.id': {inq: correctings.map(x => x.correctingFk)}}; return {'ii.id': {inq: correctings.map(x => x.correctingFk)}};
case 'supplierActivityFk': case 'supplierActivityFk':