From 844b27d298daca54e54d6f98c61a93da88909e5c Mon Sep 17 00:00:00 2001
From: leomonM <2233021400@qq.com>
Date: Fri, 22 Aug 2025 19:19:00 +0800
Subject: [PATCH] 枚举字段

---
 oying-system/src/main/resources/mapper/pc/product/ProductAuditMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/resources/mapper/pc/product/ProductAuditMapper.xml b/oying-system/src/main/resources/mapper/pc/product/ProductAuditMapper.xml
index f36506a..a7f5155 100644
--- a/oying-system/src/main/resources/mapper/pc/product/ProductAuditMapper.xml
+++ b/oying-system/src/main/resources/mapper/pc/product/ProductAuditMapper.xml
@@ -31,6 +31,9 @@
             <if test="criteria.type != null and criteria.type != ''">
                 and type = #{criteria.type}
             </if>
+            <if test="criteria.status != null">
+                and status = #{criteria.status}
+            </if>
         </where>
         order by audit_id desc
     </select>

--
Gitblit v1.9.3