From 3bf7e93280dfb00e6a1a9cee5a841ba5c5aeb863 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 15 十月 2024 10:48:37 +0800
Subject: [PATCH] 考核积分刷新功能
---
ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml | 92 ++++++++++++++++++++++-----------------------
1 files changed, 45 insertions(+), 47 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
index 5a1974b..85f8c3d 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
@@ -560,53 +560,51 @@
</select>
-<!-- <select id="assetManagement" resultMap="dyMap">-->
-<!-- SELECT-->
-<!-- tm.id,-->
-<!-- tm.serial_number,-->
-<!-- tm.name,-->
-<!-- tm.site_type,-->
-<!-- tm.mac_addr,-->
-<!-- tm.ip,-->
-<!-- tm.camera_fun_type,-->
-<!-- tm.longitude,-->
-<!-- tm.latitude,-->
-<!-- tm.camera_capture_area,-->
-<!-- tm.on_state,-->
-<!-- tm.civil_code,-->
-<!-- tm.integrated_device,-->
-<!-- tm.camera_brand,-->
-<!-- tm.address,-->
-<!-- tm.net_working,-->
-<!-- tm.public_security,-->
-<!-- tm.installed_time,-->
-<!-- tm.management_unit,-->
-<!-- tm.mu_contact_info,-->
-<!-- tm.storage_days,-->
-<!-- tm.monitor_azimuth,-->
-<!-- tm.scene_photo_addr,-->
-<!-- tm.model,-->
-<!-- tm.site_vulgo,-->
-<!-- tm.camera_type,-->
-<!-- tm.camera_light_type,-->
-<!-- tm.encoded_format,-->
-<!-- tm.camera_dept,-->
-<!-- tm.hybm,-->
-<!-- tm.lxbm,-->
-<!-- 't_monitor' as tableName,-->
-<!-- #{query.keyword} as keyword-->
-<!-- FROM-->
-<!-- t_monitor tm-->
-<!-- INNER JOIN t_yw_point yp ON yp.serial_number = tm.serial_number-->
-<!-- <where>-->
-<!-- <if test="query.keyword != null and query.keyword != ''">-->
-<!-- AND tm.name like concat('%', #{query.keyword}, '%')-->
-<!-- </if>-->
-<!-- <if test="query.startTIme != null and query.endTime != null">-->
-<!-- AND yp.create_time between #{query.startTime} and #{query.endTime}-->
-<!-- </if>-->
-<!-- </where>-->
-<!-- </select>-->
+ <select id="assetManagement" resultType="com.ycl.platform.domain.vo.TMonitorVO">
+ SELECT
+ tm.id,
+ tm.serial_number,
+ tm.name,
+ tm.site_type,
+ tm.mac_addr,
+ tm.ip,
+ tm.camera_fun_type,
+ tm.longitude,
+ tm.latitude,
+ tm.camera_capture_area,
+ tm.on_state,
+ tm.civil_code,
+ tm.integrated_device,
+ tm.camera_brand,
+ tm.address,
+ tm.net_working,
+ tm.public_security,
+ tm.installed_time,
+ tm.management_unit,
+ tm.mu_contact_info,
+ tm.storage_days,
+ tm.monitor_azimuth,
+ tm.scene_photo_addr,
+ tm.model,
+ tm.site_vulgo,
+ tm.camera_type,
+ tm.camera_light_type,
+ tm.encoded_format,
+ tm.camera_dept,
+ tm.hybm,
+ tm.lxbm
+ FROM
+ t_monitor tm
+ INNER JOIN t_yw_point yp ON yp.serial_number = tm.serial_number
+ <where>
+ <if test="query.keyword != null and query.keyword != ''">
+ AND tm.name like concat('%', #{query.keyword}, '%')
+ </if>
+ <if test="query.startTIme != null and query.endTime != null">
+ AND yp.create_time between #{query.startTime} and #{query.endTime}
+ </if>
+ </where>
+ </select>
<!-- <select id="getDyColumns" resultMap="dynamicColumnMap">-->
<!-- SELECT-->
--
Gitblit v1.8.0