From 8ce578f52d2dc071beb043560baded7803787f07 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期三, 06 九月 2023 17:36:22 +0800
Subject: [PATCH] 删除鹓雏管理端的时间限制
---
inspection-server/src/main/resources/mapper/RawMaterialMapper.xml | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
index 88e512e..4a78d79 100644
--- a/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
+++ b/inspection-server/src/main/resources/mapper/RawMaterialMapper.xml
@@ -11,11 +11,11 @@
<if test="materialName != null and materialName != ''">
AND r.`material_name` LIKE CONCAT('%',#{materialName},'%')
</if>
- <if test="type != null and type != ''">
+ <if test="type != null">
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