From d9561ed998aacb58938274b2288f7ecd3343b3de Mon Sep 17 00:00:00 2001
From: dongdingding <207595406@qq.com>
Date: Fri, 15 Sep 2023 13:24:22 +0800
Subject: [PATCH] bug fix
---
.../main/resources/mapper/zongzhi/TcDataSourceMapper.xml | 4 +++-
.../resources/mapper/zongzhi/TcDataSourceTjMapper.xml | 8 +++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceMapper.xml b/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceMapper.xml
index f79ee25..679bf6c 100644
--- a/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceMapper.xml
@@ -25,10 +25,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
- select id, area_id, type, asset_name, aff_unit, aff_groups, systeam_name, url, ip_address, os, versions, is_focus, level, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_data_source
+ select id, area_id, type,is_status, asset_name, aff_unit, aff_groups, systeam_name, url, ip_address, os, versions, is_focus, level, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_data_source
diff --git a/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceTjMapper.xml b/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceTjMapper.xml
index ea49e41..41ce90a 100644
--- a/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceTjMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/zongzhi/TcDataSourceTjMapper.xml
@@ -16,6 +16,7 @@
+
@@ -29,7 +30,8 @@
update_id,
update_by,
update_time,
- remark
+ remark,
+ is_status
from tc_data_source_tj
@@ -41,6 +43,7 @@
and lable2 = #{lable2}
and create_id = #{createId}
and update_id = #{updateId}
+ and is_status = #{isStatus}
@@ -62,6 +65,7 @@
update_by,
update_time,
remark,
+ is_status,
#{areaId},
@@ -74,6 +78,7 @@
#{updateBy},
#{updateTime},
#{remark},
+ #{isStatus},
@@ -90,6 +95,7 @@
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
+ is_status=#{isStatus},
where id = #{id}