From c7bec95298220f79eba54c1613c8ebc5fcb2686f Mon Sep 17 00:00:00 2001 From: skjia <106962133@qq.com> Date: Mon, 9 Jun 2025 08:53:57 +0800 Subject: [PATCH] =?UTF-8?q?jsk=20=E5=95=86=E8=B6=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supermarket/domain/SupermarketProduct.java | 4 ++-- .../mapper/SupermarketProductMapper.java | 14 +++++++------- .../service/ISupermarketProductService.java | 14 +++++++------- .../impl/SupermarketProductServiceImpl.java | 14 +++++++------- .../supermarket/SupermarketProductMapper.xml | 10 +++++----- 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/domain/SupermarketProduct.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/domain/SupermarketProduct.java index 2c0f6c5..0eb31ab 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/domain/SupermarketProduct.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/domain/SupermarketProduct.java @@ -10,7 +10,7 @@ import com.bonus.common.core.web.domain.BaseEntity; /** * 超市商城商品对象 supermarket_product - * + * * @author xsheng * @date 2025-06-03 */ @@ -20,7 +20,7 @@ import com.bonus.common.core.web.domain.BaseEntity; @ToString public class SupermarketProduct extends BaseEntity { private static final long serialVersionUID = 1L; - + /** 商城商品明细id */ private Long productId; diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/mapper/SupermarketProductMapper.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/mapper/SupermarketProductMapper.java index ffb466c..5a88419 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/mapper/SupermarketProductMapper.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/mapper/SupermarketProductMapper.java @@ -5,14 +5,14 @@ import com.bonus.canteen.core.supermarket.domain.SupermarketProduct; /** * 超市商城商品Mapper接口 - * + * * @author xsheng * @date 2025-06-03 */ public interface SupermarketProductMapper { /** * 查询超市商城商品 - * + * * @param productId 超市商城商品主键 * @return 超市商城商品 */ @@ -22,7 +22,7 @@ public interface SupermarketProductMapper { /** * 查询超市商城商品列表 - * + * * @param supermarketProduct 超市商城商品 * @return 超市商城商品集合 */ @@ -30,7 +30,7 @@ public interface SupermarketProductMapper { /** * 新增超市商城商品 - * + * * @param supermarketProduct 超市商城商品 * @return 结果 */ @@ -38,7 +38,7 @@ public interface SupermarketProductMapper { /** * 修改超市商城商品 - * + * * @param supermarketProduct 超市商城商品 * @return 结果 */ @@ -46,7 +46,7 @@ public interface SupermarketProductMapper { /** * 删除超市商城商品 - * + * * @param productId 超市商城商品主键 * @return 结果 */ @@ -54,7 +54,7 @@ public interface SupermarketProductMapper { /** * 批量删除超市商城商品 - * + * * @param productIds 需要删除的数据主键集合 * @return 结果 */ diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/ISupermarketProductService.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/ISupermarketProductService.java index 8dd3a6f..f5b24e1 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/ISupermarketProductService.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/ISupermarketProductService.java @@ -5,14 +5,14 @@ import com.bonus.canteen.core.supermarket.domain.SupermarketProduct; /** * 超市商城商品Service接口 - * + * * @author xsheng * @date 2025-06-03 */ public interface ISupermarketProductService { /** * 查询超市商城商品 - * + * * @param productId 超市商城商品主键 * @return 超市商城商品 */ @@ -20,7 +20,7 @@ public interface ISupermarketProductService { /** * 查询超市商城商品列表 - * + * * @param supermarketProduct 超市商城商品 * @return 超市商城商品集合 */ @@ -28,7 +28,7 @@ public interface ISupermarketProductService { /** * 新增超市商城商品 - * + * * @param supermarketProduct 超市商城商品 * @return 结果 */ @@ -36,7 +36,7 @@ public interface ISupermarketProductService { /** * 修改超市商城商品 - * + * * @param supermarketProduct 超市商城商品 * @return 结果 */ @@ -44,7 +44,7 @@ public interface ISupermarketProductService { /** * 批量删除超市商城商品 - * + * * @param productIds 需要删除的超市商城商品主键集合 * @return 结果 */ @@ -52,7 +52,7 @@ public interface ISupermarketProductService { /** * 删除超市商城商品信息 - * + * * @param productId 超市商城商品主键 * @return 结果 */ diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/impl/SupermarketProductServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/impl/SupermarketProductServiceImpl.java index 4929c60..e60c925 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/impl/SupermarketProductServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/supermarket/service/impl/SupermarketProductServiceImpl.java @@ -12,7 +12,7 @@ import com.bonus.canteen.core.supermarket.service.ISupermarketProductService; /** * 超市商城商品Service业务层处理 - * + * * @author xsheng * @date 2025-06-03 */ @@ -23,7 +23,7 @@ public class SupermarketProductServiceImpl implements ISupermarketProductService /** * 查询超市商城商品 - * + * * @param productId 超市商城商品主键 * @return 超市商城商品 */ @@ -34,7 +34,7 @@ public class SupermarketProductServiceImpl implements ISupermarketProductService /** * 查询超市商城商品列表 - * + * * @param supermarketProduct 超市商城商品 * @return 超市商城商品 */ @@ -45,7 +45,7 @@ public class SupermarketProductServiceImpl implements ISupermarketProductService /** * 新增超市商城商品 - * + * * @param supermarketProduct 超市商城商品 * @return 结果 */ @@ -62,7 +62,7 @@ public class SupermarketProductServiceImpl implements ISupermarketProductService /** * 修改超市商城商品 - * + * * @param supermarketProduct 超市商城商品 * @return 结果 */ @@ -79,7 +79,7 @@ public class SupermarketProductServiceImpl implements ISupermarketProductService /** * 批量删除超市商城商品 - * + * * @param productIds 需要删除的超市商城商品主键 * @return 结果 */ @@ -90,7 +90,7 @@ public class SupermarketProductServiceImpl implements ISupermarketProductService /** * 删除超市商城商品信息 - * + * * @param productId 超市商城商品主键 * @return 结果 */ diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/supermarket/SupermarketProductMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/supermarket/SupermarketProductMapper.xml index d3e28cd..7fa052d 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/supermarket/SupermarketProductMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/supermarket/SupermarketProductMapper.xml @@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + - + insert into supermarket_product @@ -123,9 +123,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from supermarket_product where product_id in + delete from supermarket_product where product_id in #{productId} - \ No newline at end of file +