Open Smartbicaopan opened 1 year ago
版本: <dependency> <groupId>com.scudata.esproc</groupId> <artifactId>esproc</artifactId> <version>20230228</version> </dependency> function.xml 中片段: <FUNCTION name="TODAY" paramcount="0"> <INFO dbtype="ORACLE" value="SYSDATE"/> <INFO dbtype="SQLSVR" value="GETDATE()"/> <INFO dbtype="DB2" value="CURRENT DATE"/> <INFO dbtype="MYSQL" value="CURDATE()"/> <INFO dbtype="TERADATA" value="DATE"/> <INFO dbtype="POSTGRES" value="CURRENT_DATE"/> <INFO dbtype="ESPROC" value="now@d()"/> </FUNCTION> System.out.println(SQLUtil.translate("TODAY()", "ORACLE")); 输出是 TODAY() ;不符合 function.xml 中的配置
已修改,更新了SQLUtil类。