From 8abe275e36823f1065300af45e1f7a9a68f549a7 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 06 九月 2023 16:14:40 +0800
Subject: [PATCH] 修改bug

---
 inspection-server/src/main/resources/mapper/RawMaterialMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
index 7ca8063..4a78d79 100644
--- a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
+++ b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
@@ -15,7 +15,7 @@
             AND r.`type` = #{type}
         </if>
         <if test="createTime != null and createTime != ''">
-            AND DATE_FORMAT(r.`create_time`,'%Y-%m-%d') = #{createTime}
+            AND DATE_FORMAT(r.`date_survey`,'%Y-%m-%d') = #{createTime}
         </if>
     </select>
     <select id="selectRawmaAll" resultType="java.util.Map">
@@ -24,6 +24,7 @@
                material_coding                          mcode,
                material_name                            name,
                specifications_models                    specifications,
+               specifications_id                      specificationsId,
                unit,
                quantity                                 num,
                surveyor,

--
Gitblit v1.9.3