pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml
@@ -223,6 +223,7 @@ </delete> <!--根据用户编号获取用户信息--> <!--2024-01-09 废弃--> <select id="getUserInfos" resultType="com.dy.pipIrrGlobal.voBa.VoUserInfo"> SELECT user.id AS userId, @@ -240,4 +241,19 @@ </if> </where> </select> <!--根据用户编号获取用户信息--> <select id="getUserInfoById" resultType="java.util.Map"> SELECT id AS userId, name AS userName FROM ba_user <where> AND disabled = 0 AND deleted = 0 <if test = "userId != null and userId > 0"> AND ba_user.id = ${userId} </if> </where> </select> </mapper>