From 80b15c4aeff0024b9691bf2cfb24c50c11b51ff9 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 25 八月 2023 10:34:39 +0800 Subject: [PATCH] 延期整改 --- src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml b/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml index e1ab0d9..08bbcbf 100644 --- a/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml +++ b/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml @@ -71,7 +71,7 @@ and risk_dep = #{queryReqDTO.riskDep} </if> <if test="queryReqDTO.major != null "> - and report_people = #{queryReqDTO.major} + and major = #{queryReqDTO.major} </if> <if test="queryReqDTO.riskLevel != null "> and risk_level = #{queryReqDTO.riskLevel} @@ -86,5 +86,8 @@ order by find_time desc </select> + <select id="getInfoById" resultMap="Result"> + select * from risk_old_info where id = #{i} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.2