From 3cde2386c1ddaeeacc8b815d25af3b6a84541e46 Mon Sep 17 00:00:00 2001 From: 换个名字嗨起来 <577530412@qq.com> Date: 星期四, 25 七月 2024 15:58:48 +0800 Subject: [PATCH] 接收返回值,做空值判断 --- src/main/resources/mybatis/tr/BaseCheckPointMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml b/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml index 024d71c..7afe839 100644 --- a/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml +++ b/src/main/resources/mybatis/tr/BaseCheckPointMapper.xml @@ -93,5 +93,10 @@ #{checkPointId} </foreach> </delete> - + + +<!-- BaseCheckPoint getBaseCheckPointById(Long checkPointId);--> + <select id="getBaseCheckPointById" resultType="com.ruoyi.project.tr.baseCheckPoint.domain.BaseCheckPoint"> + select * from tr_base_check_point where check_point_id = #{checkPointId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.2