From 53950f0fa04a894a2b3880f2da788c837bd84ead Mon Sep 17 00:00:00 2001 From: ludc Date: 星期一, 27 十一月 2023 09:25:49 +0800 Subject: [PATCH] 修改码段拼接前后缀时判断码值是否为空,为空时不进行拼接 --- Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/mapper/DdlDmMapper.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/mapper/DdlDmMapper.java b/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/mapper/DdlDmMapper.java index e19a148..fe85517 100644 --- a/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/mapper/DdlDmMapper.java +++ b/Source/UBCS/ubcs-service/ubcs-ddl/src/main/java/com/vci/ubcs/ddl/mapper/DdlDmMapper.java @@ -17,7 +17,7 @@ * @param columnName 鍒楀悕绉� * @return 鍙楀奖鍝嶇殑琛屾暟 */ - @Update("alter table ${tableName} DROP COLUMN ${columnName}") + @Update("alter table ${tableName} DROP COLUMN \"${columnName}\"") @Override int dropTableColumn(@Param("tableName")String tableName, @Param("columnName")String columnName); -- Gitblit v1.9.3