FirecmsBuildException:org.springframework.jdbc.BadSqlGrammarException: ### Error querying database. Cause: com.kingbase8.util.KSQLException: ERROR: function lag(numeric, integer, integer) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 31 At Line: 2, Line Position: 12 ### The error may exist in URL [jar:file:/data/firecms/cms/WEB-INF/lib/firecms-core-7008.jar!/mybatis/kingbasees/cms/CmsContentMapper.xml] ### The error may involve cmscontentDao.getDocument-Inline ### The error occurred while setting parameters ### SQL: select myid from ( select lag(id,1,0) over( ORDER BY puttop DESC,usn desc) as myid,id from cms_content where columnid = ? AND (status=4 or status=5) ) where id = ? ### Cause: com.kingbase8.util.KSQLException: ERROR: function lag(numeric, integer, integer) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 31 At Line: 2, Line Position: 12 ; bad SQL grammar []; nested exception is com.kingbase8.util.KSQLException: ERROR: function lag(numeric, integer, integer) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 31 At Line: 2, Line Position: 12