获取清台配置信息

This commit is contained in:
张松
2025-11-11 10:51:34 +08:00
parent 623acaba82
commit b307d03346

View File

@@ -103,11 +103,11 @@ public class ShopTableController {
public CzgResult<Boolean> editBatch(@RequestBody @Validated ShopTableEditBatchDTO shopTableDTO) {
UpdateChain<ShopTable> 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());
}