菜单问题

This commit is contained in:
2025-12-23 15:33:30 +08:00
parent 8635c42506
commit 7c9c6d6a02
2 changed files with 3 additions and 8 deletions

View File

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