From 417459b4f36b090097323f0f7d3c8469e9687f66 Mon Sep 17 00:00:00 2001 From: 艾金辉 <1144154118@qq.com> Date: 星期五, 21 七月 2023 15:09:08 +0800 Subject: [PATCH] 根据用户名获取三一列表 --- ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml index b70dea5..f958e1d 100644 --- a/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml +++ b/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml @@ -95,4 +95,10 @@ #{id} </foreach> </delete> + <select id="selectArdSyCarByIds" parameterType="String" resultMap="ArdSyCarResult"> + select * from ard_sy_car where id in + <foreach item="id" collection="array" open="(" separator="," close=")"> + #{id} + </foreach> + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3