From a013aea101294906be4af0f5081dc6f5c2878d02 Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期一, 27 十一月 2023 22:29:27 +0800 Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe --- hd/pipe/secure/src/main/resources/mapping/HiddenDangerMapper.xml | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hd/pipe/secure/src/main/resources/mapping/HiddenDangerMapper.xml b/hd/pipe/secure/src/main/resources/mapping/HiddenDangerMapper.xml index 07cd957..39bd177 100644 --- a/hd/pipe/secure/src/main/resources/mapping/HiddenDangerMapper.xml +++ b/hd/pipe/secure/src/main/resources/mapping/HiddenDangerMapper.xml @@ -137,7 +137,8 @@ <select id="selectInfo" resultType="com.thhy.secure.modules.biz.hiddenDanger.entity.HiddenDangerEntity"> select t.id, - t.dangerLocation, + sd.dict_name dangerLocation, + sd.dict_id dictId, t.title, t.createTime, t.auditStatus, @@ -152,6 +153,7 @@ from t_hidden_danger t LEFT JOIN sys_users su ON su.user_id = t.createUser LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser + LEFT JOIN sys_dict sd on sd.dict_id = t.dangerLocation where t.id=#{id} </select> @@ -159,7 +161,8 @@ <select id="selectPageList" resultType="com.thhy.secure.modules.biz.hiddenDanger.entity.HiddenDangerEntity"> SELECT t.id, - t.dangerLocation, + sd.dict_name dangerLocation, + sd.dict_id dictId, t.title, t.createTime, t.auditStatus, @@ -174,6 +177,7 @@ from t_hidden_danger t LEFT JOIN sys_users su ON su.user_id = t.createUser LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser + LEFT JOIN sys_dict sd on sd.dict_id = t.dangerLocation WHERE t.isUse = 1 and t.companyId = #{companyId} @@ -187,7 +191,8 @@ <select id="selectAppList" resultType="com.thhy.secure.modules.biz.hiddenDanger.entity.HiddenDangerEntity"> SELECT t.id, - t.dangerLocation, + sd.dict_name dangerLocation, + sd.dict_id dictId, t.title, t.createTime, t.auditStatus, @@ -202,6 +207,7 @@ from t_hidden_danger t LEFT JOIN sys_users su ON su.user_id = t.createUser LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser + LEFT JOIN sys_dict sd on sd.dict_id = t.dangerLocation WHERE t.isUse = 1 and t.companyId = #{companyId} -- Gitblit v1.9.3