From 8841ef182bbe06a7ef1f102f51810502dde0a76f Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Sat, 19 Jul 2025 16:26:58 +0800
Subject: [PATCH] Merge branch 'master' into xin

---
 oying-system/src/main/resources/mapper/pc/product/ProductMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/oying-system/src/main/resources/mapper/pc/product/ProductMapper.xml b/oying-system/src/main/resources/mapper/pc/product/ProductMapper.xml
index 209639f..ee5bc4f 100644
--- a/oying-system/src/main/resources/mapper/pc/product/ProductMapper.xml
+++ b/oying-system/src/main/resources/mapper/pc/product/ProductMapper.xml
@@ -11,6 +11,7 @@
         <result column="category_id" property="categoryId"/>
         <result column="second_category_id" property="secondCategoryId"/>
         <result column="status" property="status"/>
+        <result column="shelf_status" property="shelfStatus"/>
         <result column="main_image_id" property="mainImageId"/>
         <result column="main_image_Url" property="mainImageUrl"/>
         <result column="description" property="description"/>
@@ -33,7 +34,7 @@
     </resultMap>
 
     <sql id="Base_Column_List">
-        product_id, store_id, code, barcode, name, title, category_id, second_category_id, status, main_image_id, main_image_url, description, price, stock_quantity, min_purchase_quantity, warn_stock, weight, width, length, height, returns, self_pickup, deleted_flag, create_by, create_time, update_by, update_time, version
+        product_id, store_id, code, barcode, name, title, category_id, second_category_id, status, shelf_status, main_image_id, main_image_url, description, price, stock_quantity, min_purchase_quantity, warn_stock, weight, width, length, height, returns, self_pickup, deleted_flag, create_by, create_time, update_by, update_time, version
     </sql>
 
     <select id="findAll" resultMap="BaseResultMap">
@@ -56,6 +57,9 @@
             <if test="criteria.status != null">
                 and status = #{criteria.status}
             </if>
+            <if test="criteria.shelfStatus != null">
+                and shelf_status = #{criteria.shelfStatus}
+            </if>
             <if test="criteria.active != null">
                 and active = #{criteria.active}
             </if>

--
Gitblit v1.9.3