cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
@@ -57,4 +57,14 @@ and t1.state != 3 </where> </select> <select id="getSelects" resultType="com.dsh.account.dto.SelectDto"> SELECT ts.id ,ts.`name` as value FROM t_student ts <where> ts.id in <foreach collection="studentIds" item="id" index="index" open="(" close=")" separator=","> #{id} </foreach> </where> </select> </mapper>