From 8ce578f52d2dc071beb043560baded7803787f07 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期三, 06 九月 2023 17:36:22 +0800
Subject: [PATCH] 删除鹓雏管理端的时间限制
---
laboratory-server/src/main/resources/mapper/MeteringPlanMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/laboratory-server/src/main/resources/mapper/MeteringPlanMapper.xml b/laboratory-server/src/main/resources/mapper/MeteringPlanMapper.xml
index 87445db..c87bc33 100644
--- a/laboratory-server/src/main/resources/mapper/MeteringPlanMapper.xml
+++ b/laboratory-server/src/main/resources/mapper/MeteringPlanMapper.xml
@@ -26,8 +26,8 @@
<if test="dto.name!=null and dto.name!=''">
and i.`equipment_name` like concat('%',#{dto.name},'%')
</if>
- <if test="dto.name!=null and dto.name!=''">
- and i.measurement_unit like concat('%',#{dto.unit},'%')
+ <if test="dto.unit!=null and dto.unit!=''">
+ and m.measurement_unit like concat('%',#{dto.unit},'%')
</if>
</select>
--
Gitblit v1.9.3