From d5bb894f9be2e0a3b62d475b60b44f2ab138528c Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期四, 12 六月 2025 16:48:35 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/src/main/java/com/example/erp/mapper/sd/ProductMapper.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/mapper/sd/ProductMapper.java b/north-glass-erp/src/main/java/com/example/erp/mapper/sd/ProductMapper.java
new file mode 100644
index 0000000..e0adbdd
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/mapper/sd/ProductMapper.java
@@ -0,0 +1,24 @@
+package com.example.erp.mapper.sd;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.erp.entity.sd.Product;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface ProductMapper extends BaseMapper<Product> {
+    List<Product> defaultProduct(@Param("offset") Integer offset,
+                                 @Param("pageSize") Integer pageSiz,
+                                 @Param("glassTypeId") String glassTypeId,
+                                 @Param("product") Product product);
+
+    Integer getPageTotal(Integer offset, Integer pageSize, String glassTypeId, Product product);
+
+    boolean updateProductStateById(Integer id,Integer state);
+
+    List<Product> selectProduct(@Param("productName") String productName,@Param("productNameValue") String productNameValue);
+
+    List<Product> selectProductId(@Param("productName") String productName,@Param("productNameValue") String productNameValue,@Param("id") Long id);
+}

--
Gitblit v1.8.0