From b306d1106b915bb13fd7a02217ae9c65de2fd03d Mon Sep 17 00:00:00 2001
From: ws183 <1143478319@qq.com>
Date: 星期一, 28 四月 2025 17:19:52 +0800
Subject: [PATCH] 新增质检页面附件上传

---
 igds-core/src/main/resources/mapper/CheckStandardMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/igds-core/src/main/resources/mapper/CheckStandardMapper.xml b/igds-core/src/main/resources/mapper/CheckStandardMapper.xml
index 6e33d17..df0d176 100644
--- a/igds-core/src/main/resources/mapper/CheckStandardMapper.xml
+++ b/igds-core/src/main/resources/mapper/CheckStandardMapper.xml
@@ -153,5 +153,16 @@
           AND FOOD_VARIETY_ = #{foodVariety}
         ORDER by STANDARD_ID_ + 0
     </select>
+    <select id="getCheckItemByParam" resultType="com.ld.igds.check.dto.CheckItemData">
+        select
+        VALUE_ as value
+        from
+        D_CHECK_ITEM
+        <where>
+            <if test="data.companyId != null and data.companyId != '' ">COMPANY_ID_= #{data.companyId}</if>
+            <if test="data.checkId != null and data.checkId != '' ">AND CHECK_ID_ = #{data.checkId}</if>
+            <if test="data.standardId != null and data.standardId != '' ">AND STANDARD_ID_ = #{data.standardId}</if>
+        </where>
+    </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3