Browse Source

SQL修改

chenw 6 years ago
parent
commit
4ac9ab7f4c

+ 1 - 1
bi-server/src/main/java/com/usoftchina/bi/server/dao/dataSource/DataConnectorMapper.java

@@ -215,7 +215,7 @@ public interface DataConnectorMapper {
             "<if test=\"dataName != null\"> DATA_NAME = #{dataName, jdbcType=VARCHAR}, </if>" +
             "<if test=\"userName != null\"> USER_NAME = #{userName, jdbcType=VARCHAR}, </if>" +
             "<if test=\"passWord != null\"> PASS_WORD = #{passWord, jdbcType=VARCHAR}, </if>" +
-            "<if test=\"note != null\"> NOTE = #{note, jdbcType=VARCHAR} </if>" +
+            "NOTE = #{note, jdbcType=VARCHAR}" +
             "where id = #{id, jdbcType=INTEGER}" +
             "</script>")
     void updatabases(Databases databases);