Не удалось выполнить запрос: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and attachment1_.AttachmentTypeId = 3 order by ca...' at line 30 SQL:[ select distinct cataloguec0_.ComponentId as Componen1_15_0_, attachment1_.AttachmentId as Attachme1_21_1_, attachment1_.AttachmentTypeId as Attachme2_21_1_, attachment1_.ComponentId as Componen3_21_1_, attachment2_.AttachmentId as Attachme1_4_2_, cataloguec0_.AssemblyLevel as Assembly2_15_0_, cataloguec0_.CatalogueId as Catalog13_15_0_, cataloguec0_.CatalogueComponentTypeId as Catalogu3_15_0_, cataloguec0_.ChangeIndicator as ChangeIn4_15_0_, cataloguec0_.Code as Code15_0_, cataloguec0_.ComponentPath as Componen6_15_0_, cataloguec0_.DescriptionId as Descript7_15_0_, cataloguec0_.HotspotKey as HotspotKey15_0_, cataloguec0_.parentComponentId as parentCo9_15_0_, cataloguec0_.ParentComponentId as ParentCo9_15_0_, cataloguec0_.ItemId as ItemId15_0_, cataloguec0_.Quantity as Quantity15_0_, attachment1_.ComponentId as Componen3_0__, attachment1_.AttachmentId as Attachme1_0__, attachment1_.AttachmentTypeId as Attachme2_0__, attachment2_.AttachmentLanguage as Attachme2_4_2_, attachment2_.AttachmentLocal as Attachme3_4_2_, attachment2_.AttachmentTitle as Attachme4_4_2_, attachment2_.MIME as MIME4_2_, attachment2_.URL as URL4_2_ from CatalogueComponent cataloguec0_ left outer join ComponentAttachment attachment1_ on cataloguec0_.ComponentId=attachment1_.ComponentId left outer join AttachmentData attachment2_ on attachment1_.AttachmentId=attachment2_.AttachmentId inner join VehicleFrameToShared vehiclefra3_ on cataloguec0_.ComponentId=vehiclefra3_.SharedCatalogueId where vehiclefra3_.VirtualMajorGroupId in () and attachment1_.AttachmentTypeId = 3 order by cataloguec0_.SequenceId ]