From b307d03346602e5ed13bdca4c2273338072af8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Tue, 11 Nov 2025 10:51:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=B8=85=E5=8F=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/czg/controller/admin/ShopTableController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopTableController.java b/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopTableController.java index 4f16c140c..a408ac268 100644 --- a/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopTableController.java +++ b/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopTableController.java @@ -103,11 +103,11 @@ public class ShopTableController { public CzgResult editBatch(@RequestBody @Validated ShopTableEditBatchDTO shopTableDTO) { UpdateChain query = shopTableService.updateChain().eq(ShopTable::getShopId, StpKit.USER.getShopId()); if (shopTableDTO.getAutoClearTime() != null) { - query.eq(ShopTable::getAutoClearTime, shopTableDTO.getAutoClearTime()); + query.set(ShopTable::getAutoClearTime, shopTableDTO.getAutoClearTime()); } if (shopTableDTO.getAutoClear() != null) { - query.eq(ShopTable::getAutoClear, shopTableDTO.getAutoClear()); + query.set(ShopTable::getAutoClear, shopTableDTO.getAutoClear()); } return CzgResult.success(query.update()); }