From a5a5da73dec49c5cd23761edad8be98cde8a3b74 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期六, 31 八月 2024 17:24:23 +0800 Subject: [PATCH] 平台调整 --- ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml index ef4cec1..78a7fab 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml @@ -14,8 +14,9 @@ <select id="getById" resultMap="BaseResultMap"> SELECT - TPO.platform_name, - TPO.platform_ip, + TP.platform_name, + TP.platform_ip, + TP.area, TPO.create_date, TPO.today_outline_sed, TPO.update_time, @@ -23,6 +24,7 @@ TPO.id FROM t_platform_online TPO + INNER JOIN t_platform TP ON TP.id = TPO.platform_id WHERE TPO.id = #{id} AND TPO.deleted = 0 </select> @@ -30,8 +32,9 @@ <select id="getPage" resultMap="BaseResultMap"> SELECT - TPO.platform_name, - TPO.platform_ip, + TP.platform_name, + TP.platform_ip, + TP.area, TPO.create_date, TPO.today_outline_sed, TPO.update_time, @@ -39,6 +42,7 @@ TPO.id FROM t_platform_online TPO + INNER JOIN t_platform TP ON TP.id = TPO.platform_id WHERE TPO.deleted = 0 <if test="query.startTime != null and query.endTime != null"> -- Gitblit v1.8.0