MybatisPlusException: Failed to process, Error SQL: insert into APS_IRON_PRO_ASSEMBLY_CONFIG - 'output inserted.id' Syntax Error
This error occurs due to the use of the 'output inserted.id' syntax in the SQL statement. This syntax is specific to SQL Server and is not supported in MySQL.
To resolve this issue, remove the 'output inserted.id' syntax from the SQL statement. If you need to retrieve the primary key ID of the inserted data, you can use the SELECT LAST_INSERT_ID() function after the insert operation.
原文地址: https://www.cveoy.top/t/topic/oFcs 著作权归作者所有。请勿转载和采集!