From 402a9b635f9c36c039d4bceda71ca560ef645d97 Mon Sep 17 00:00:00 2001 From: GYJ <1157756119@qq.com> Date: Wed, 10 Jul 2024 14:50:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/CashierCartController.java | 64 ------------------- .../impl/TbShopSongOrderServiceImpl.java | 1 - 2 files changed, 65 deletions(-) delete mode 100644 src/main/java/com/chaozhanggui/system/cashierservice/controller/CashierCartController.java diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/controller/CashierCartController.java b/src/main/java/com/chaozhanggui/system/cashierservice/controller/CashierCartController.java deleted file mode 100644 index b59eb50..0000000 --- a/src/main/java/com/chaozhanggui/system/cashierservice/controller/CashierCartController.java +++ /dev/null @@ -1,64 +0,0 @@ -//package com.chaozhanggui.system.cashierservice.controller; -// -//import com.chaozhanggui.system.cashierservice.entity.TbCashierCart; -//import com.chaozhanggui.system.cashierservice.entity.dto.ProductCartDto; -//import com.chaozhanggui.system.cashierservice.service.CashierCartService; -//import com.chaozhanggui.system.cashierservice.sign.Result; -//import lombok.extern.slf4j.Slf4j; -//import org.springframework.web.bind.annotation.*; -// -//import javax.annotation.Resource; -//import java.util.List; -// -///** -// * @author lyf -// */ -//@CrossOrigin(origins = "*") -//@RestController -//@Slf4j -//@RequestMapping("/cart") -//public class CashierCartController { -// -// @Resource -// private CashierCartService cashierCartService; -// /** -// * 添加购物车 -// * @param productCartDto -// * @return -// */ -// @PostMapping("/add") -// public Result batchAdd(@RequestBody ProductCartDto productCartDto) { -// return cashierCartService.batchAdd(productCartDto); -// } -// -// /** -// * 购物车 -// * @param tableId -// * @return -// */ -// @GetMapping("/cartList") -// public Result cartList(@RequestParam Integer tableId){ -// return cashierCartService.cartList(tableId); -// } -// -// /** -// *更改数量 -// * @param -// * @return -// */ -// @GetMapping("/updateNumber") -// public Result updateNumber(@RequestParam Integer id ,@RequestParam String type){ -// return cashierCartService.updateNumber(id,type); -// } -// -// -// /** -// *清空购物车 -// * @param -// * @return -// */ -// @GetMapping("/clear") -// public Result clearCart(@RequestParam Integer tableId){ -// return cashierCartService.clearCart(tableId); -// } -//} diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbShopSongOrderServiceImpl.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbShopSongOrderServiceImpl.java index 23906a2..829b239 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbShopSongOrderServiceImpl.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/impl/TbShopSongOrderServiceImpl.java @@ -1,6 +1,5 @@ package com.chaozhanggui.system.cashierservice.service.impl; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.chaozhanggui.system.cashierservice.dao.TbShopSongMapper; import com.chaozhanggui.system.cashierservice.entity.TbShopSongOrder; import com.chaozhanggui.system.cashierservice.service.TbShopSongOrderService;