remove() 方法

📅 2026/7/3 11:04:16
remove() 方法
// 删除 2026年4月到7月的数据 LambdaQueryWrapperMerchantUserDiscount wrapper new LambdaQueryWrapper(); wrapper.between(MerchantUserDiscount::getCreateTime, 2026-04-01 00:00:00, 2026-07-31 23:59:59); boolean result merchantUserDiscountService.remove(wrapper); // 或者直接使用 mapper // int count merchantUserDiscountMapper.delete(wrapper);