Невозможно выполнить запрос к БД: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'this.args.part ''' at line 17
SELECT COUNT(*) FROM Site2.IssMarketNew imn INNER JOIN AutoBase.AvitoParts2 ap ON imn.id = ap.id_part INNER JOIN Site2.CatalogNew cn ON imn.c02 = cn.id INNER JOIN Site2.CatalogNew cn2 ON cn.rParent = cn2.id INNER JOIN Site2.CatalogNew cn3 ON imn.c01 = cn3.id WHERE ABS(imn.rDealers)=110843 AND imn.c01>0 AND imn.c02>0 AND imn.rTrader IN ('301810') AND ap.status_delete IS NULL AND cn2.id = '0' AND cn.id = '0' AND cn3.l1 = '' this.args.part ''