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;