From ab18bd6eb8f5e5ba02ec57e0c720a4d27a487fd7 Mon Sep 17 00:00:00 2001 From: lunescode Date: Wed, 24 Nov 2021 21:54:35 +0800 Subject: [PATCH] bugfix: the order of #{engineConnBmlResource.fileSize} and #{engineConnBmlResource.lastModified} were reversed, leading to the data insert into databse make wrong. --- .../server/dao/impl/EngineConnBmlResourceMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linkis-engineconn-plugins/linkis-engineconn-plugin-framework/linkis-engineconn-plugin-server/src/main/java/org/apache/linkis/engineplugin/server/dao/impl/EngineConnBmlResourceMapper.xml b/linkis-engineconn-plugins/linkis-engineconn-plugin-framework/linkis-engineconn-plugin-server/src/main/java/org/apache/linkis/engineplugin/server/dao/impl/EngineConnBmlResourceMapper.xml index eeacd58aa2..5145b3532f 100644 --- a/linkis-engineconn-plugins/linkis-engineconn-plugin-framework/linkis-engineconn-plugin-server/src/main/java/org/apache/linkis/engineplugin/server/dao/impl/EngineConnBmlResourceMapper.xml +++ b/linkis-engineconn-plugins/linkis-engineconn-plugin-framework/linkis-engineconn-plugin-server/src/main/java/org/apache/linkis/engineplugin/server/dao/impl/EngineConnBmlResourceMapper.xml @@ -59,8 +59,8 @@ insert into linkis_cg_engine_conn_plugin_bml_resources() values(#{engineConnBmlResource.engineConnType}, #{engineConnBmlResource.version}, - #{engineConnBmlResource.fileName}, #{engineConnBmlResource.lastModified}, - #{engineConnBmlResource.fileSize}, #{engineConnBmlResource.bmlResourceId}, + #{engineConnBmlResource.fileName},#{engineConnBmlResource.fileSize}, + #{engineConnBmlResource.lastModified},#{engineConnBmlResource.bmlResourceId}, #{engineConnBmlResource.bmlResourceVersion}, #{engineConnBmlResource.createTime}, #{engineConnBmlResource.lastUpdateTime})