From d2313541c965b7710d72bb29a7e2eefe016c4ea9 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Fri, 22 Sep 2023 16:57:59 +0800
Subject: [PATCH] change redis password
---
src/main/resources/mybatis/doublePrevention/RiskAndPeopleMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mybatis/doublePrevention/RiskAndPeopleMapper.xml b/src/main/resources/mybatis/doublePrevention/RiskAndPeopleMapper.xml
index 59ecb8d..fc69574 100644
--- a/src/main/resources/mybatis/doublePrevention/RiskAndPeopleMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/RiskAndPeopleMapper.xml
@@ -50,6 +50,14 @@
<if test="reqBO.hazardRank != null and reqBO.hazardRank != '' ">
and hazard_rank = #{reqBO.hazardRank}
</if>
+ <if test="reqBO.id != null and reqBO.id != '' ">
+ and id = #{reqBO.id}
+ </if>
+ </select>
+
+
+ <select id="selectRiskAndPeopleInfoById" resultMap="Result">
+ select * from risk_and_people_info where delete_status = 0 and id = #{id}
</select>
--
Gitblit v1.9.2