From f8805dcb9cbfda1182761d3c1c9e345f53db3452 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期四, 16 十一月 2023 09:17:24 +0800
Subject: [PATCH] 料仓搅拌站大屏书写
---
hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml b/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml
index d00ca11..5c9c335 100644
--- a/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml
+++ b/hd/pipe/mobile/src/main/resources/mapping/CheckDeviceMapper.xml
@@ -88,6 +88,7 @@
t.check_type as checkType,
t.create_time as createTime,
t.device_id as deviceId,
+ sd1.dict_name as checkTypeName,
bd.big_device_name as bigDeviceName,
bd.big_device_model as bigDeviceModel,
bd.big_number as bigNumber,
@@ -98,6 +99,7 @@
from t_check_device t
left join t_big_device bd on t.device_id = bd.big_device_id
left join sys_dict sd on sd.dict_id = bd.big_type
+ left join sys_dict sd1 on sd1.dict_id = t.check_type
left join sys_users su on su.user_id = t.admin_user
<where>
<trim suffixOverrides=" AND ">
@@ -105,6 +107,9 @@
<if test="bigDeviceName !=null and bigDeviceName !=''">
bd.big_device_name LIKE concat('%',#{bigDeviceName},'%') AND
</if>
+ <if test="bigNumber !=null and bigNumber !=''">
+ bd.big_number LIKE concat('%',#{bigNumber},'%') AND
+ </if>
<if test="startTime !=null">
t.check_time >= #{startTime} AND
</if>
--
Gitblit v1.9.3