From f433f89ed561c9c00fa91694a699b2a7a88cf14a Mon Sep 17 00:00:00 2001 From: ic_excellent <2570192571@qq.com> Date: Tue, 18 Jul 2023 16:25:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8C=E6=AD=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/aiyh/utils/response_deal/state/UpdateState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/aiyh/utils/response_deal/state/UpdateState.java b/src/main/java/aiyh/utils/response_deal/state/UpdateState.java index a249898..3c39156 100644 --- a/src/main/java/aiyh/utils/response_deal/state/UpdateState.java +++ b/src/main/java/aiyh/utils/response_deal/state/UpdateState.java @@ -56,7 +56,7 @@ public class UpdateState extends State { } RowDefinition rowDefinition = rowDefinitionList.get(0); String updateSql = MapperBuilderSql.builderUpdateSql(assignTable, rowDefinition.getUpdateParam(),"upItem"); - updateSql = updateSql + " " + conditionScript; + updateSql = updateSql + " where " + conditionScript; boolean flag = this.configMapper.executeUpdateBatchCusSql(updateSql, updateList, whereList); logger.info("批量更新处理结果 ==>"+flag); //如果为主表则处理明细数据