From b8fb1d580d3cd345c6fb96ff9d54d437c3137fd1 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期一, 25 十二月 2023 17:25:49 +0800 Subject: [PATCH] 1、数据进行状态修改时会报错,且部分数据更改不了。 2、删除数据时会报错。 --- 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