From fb1eb267a1d6021f1e90b5eebb262c9b4343ac5a Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 14 一月 2026 14:20:22 +0800
Subject: [PATCH] 质检的指标维护调整
---
src/main/resources/mapper/quality/QualityTestStandardMapper.xml | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/main/resources/mapper/quality/QualityTestStandardMapper.xml b/src/main/resources/mapper/quality/QualityTestStandardMapper.xml
index 72a977a..be07a98 100644
--- a/src/main/resources/mapper/quality/QualityTestStandardMapper.xml
+++ b/src/main/resources/mapper/quality/QualityTestStandardMapper.xml
@@ -7,17 +7,17 @@
FROM quality_test_standard
where
1=1
- <if test="qualityTestStandard.standardNo != null and qualityTestStandard.standardNo != '' ">
- AND standard_no like concat('%',#{qualityTestStandard.standardNo},'%')
+ <if test="c.standardNo != null and c.standardNo != '' ">
+ AND standard_no like concat('%',#{c.standardNo},'%')
</if>
- <if test="qualityTestStandard.standardName != null and qualityTestStandard.standardName != '' ">
- AND standard_name like concat('%',#{qualityTestStandard.standardName},'%')
+ <if test="c.standardName != null and c.standardName != '' ">
+ AND standard_name like concat('%',#{c.standardName},'%')
</if>
- <if test="qualityTestStandard.state != null and qualityTestStandard.state != '' ">
- AND state = #{qualityTestStandard.state}
+ <if test="c.state != null and c.state != '' ">
+ AND state = #{c.state}
</if>
- <if test="qualityTestStandard.inspectType != null and qualityTestStandard.inspectType != '' ">
- AND inspect_type = #{qualityTestStandard.inspectType}
+ <if test="c.inspectType != null and c.inspectType != '' ">
+ AND inspect_type = #{c.inspectType}
</if>
</select>
</mapper>
--
Gitblit v1.9.3