From 6121e12718d30b40bd8956555d68da31e6b54b52 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期四, 19 三月 2026 16:45:58 +0800
Subject: [PATCH] fix(mapper): 修正 ProductionProductMainMapper 审核状态条件

---
 src/main/resources/mapper/production/ProductionProductMainMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index 5b3f845..90c9fcc 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -49,7 +49,7 @@
                 and ppm.status = #{c.status}
             </if>
             <if test="c.auditStatus != null">
-                and ppm.audit_status = #{c.auditStatus.code}
+                and ppm.audit_status = #{c.auditStatus}
             </if>
         </where>
         order by ppm.id

--
Gitblit v1.9.3