From c0db57abe71d3cedf5ad8326a03b8ad6cbfea43c Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期三, 25 十月 2023 09:38:01 +0800 Subject: [PATCH] 10.13bug2 --- cloud-server-account/src/main/resources/mapper/TStudentMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml b/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml index c4a040b..145ba1c 100644 --- a/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml +++ b/cloud-server-account/src/main/resources/mapper/TStudentMapper.xml @@ -51,6 +51,11 @@ <if test="item.phone != null and item.phone != ''"> and o.phone LIKE CONCAT('%',#{item.phone},'%') </if> + <if test="item.ids != null and item.ids.size >0 "> + and o.appUserId in <foreach collection="item.ids" separator="," open="(" item="id" close=")"> + #{id} + </foreach> + </if> </where> </select> -- Gitblit v1.7.1