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()); }