From cd538c205628f28839323b49b7f77f33196a601f Mon Sep 17 00:00:00 2001 From: zhangnaisong <2434969829@qq.com> Date: 星期四, 11 七月 2024 15:50:42 +0800 Subject: [PATCH] 电磁锁操控加入判断速度为0提交 --- ard-work/src/main/resources/mapper/call/ArdCallSessionUserMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/resources/mapper/call/ArdCallSessionUserMapper.xml b/ard-work/src/main/resources/mapper/call/ArdCallSessionUserMapper.xml index 01cde9a..5eee9a0 100644 --- a/ard-work/src/main/resources/mapper/call/ArdCallSessionUserMapper.xml +++ b/ard-work/src/main/resources/mapper/call/ArdCallSessionUserMapper.xml @@ -27,11 +27,14 @@ </where> </select> + <select id="selectArdCallSessionUserBySesionId" parameterType="String" resultMap="ArdCallSessionUserResult"> + <include refid="selectArdCallSessionUserVo"/> + where session_id = #{sessionId} and user_id = #{userId} + </select> <select id="selectArdCallSessionUserById" parameterType="String" resultMap="ArdCallSessionUserResult"> <include refid="selectArdCallSessionUserVo"/> where id = #{id} </select> - <insert id="insertArdCallSessionUser" parameterType="ArdCallSessionUser"> insert into ard_call_session_user <trim prefix="(" suffix=")" suffixOverrides=","> -- Gitblit v1.9.3