From d663ed25212f98853550a786e2058a6b5a52bcc3 Mon Sep 17 00:00:00 2001 From: skjia <106962133@qq.com> Date: Mon, 9 Jun 2025 08:50:46 +0800 Subject: [PATCH] =?UTF-8?q?jsk=20=20=E5=95=86=E8=B6=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/SupermarketProductController.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/controller/SupermarketProductController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/controller/SupermarketProductController.java index f703fd2..935953d 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/controller/SupermarketProductController.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/controller/SupermarketProductController.java @@ -26,7 +26,7 @@ import com.bonus.common.core.web.page.TableDataInfo; /** * 超市商城商品Controller - * + * * @author xsheng * @date 2025-06-03 */ @@ -48,7 +48,17 @@ public class SupermarketProductController extends BaseController { List list = supermarketProductService.selectSupermarketProductList(supermarketProduct); return getDataTable(list); } - + /** + * 查询超市商城商品列表 + */ + @ApiOperation(value = "查询商品列表") + //@RequiresPermissions("supermarket:product:list") + @GetMapping("/getAddList") + public TableDataInfo getAddList(SupermarketProduct supermarketProduct) { + startPage(); + List list = supermarketProductService.selectSupermarketProductList(supermarketProduct); + return getDataTable(list); + } /** * 导出超市商城商品列表 */