From b15cd7543f3cb9136d179a512c24c722390e56ba Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 27 三月 2023 15:11:45 +0800 Subject: [PATCH] 修改传参 --- src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml b/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml index e1ab0d9..c306bbd 100644 --- a/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml +++ b/src/main/resources/mybatis/doublePrevention/RiskOldInfoMapper.xml @@ -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