This commit is contained in:
2025-12-24 14:55:12 +08:00
parent 72c9379e87
commit 506e74747a

View File

@@ -57,9 +57,8 @@ public class NotifyController {
@RequestMapping("clear") @RequestMapping("clear")
public String clear(@RequestParam Integer shopId) { public String clear(@RequestParam Integer shopId) {
shopUserService.updateChain().eq(ShopUser::getId, 127410).set(ShopUser::getAmount, 0); consumeDiscountRecordService.remove(new QueryWrapper().eq(MkShopConsumeDiscountRecord::getShopId, shopId));
// consumeDiscountRecordService.remove(new QueryWrapper().eq(MkShopConsumeDiscountRecord::getShopId, shopId)); orderInfoService.remove(new QueryWrapper().eq(OrderInfo::getShopId, shopId));
// orderInfoService.remove(new QueryWrapper().eq(OrderInfo::getShopId, shopId));
return "success"; return "success";
} }