liusheng
8 天以前 c111e3eff1191b29d2d2baf2f485a4bf3a2edc00
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -210,6 +210,11 @@
        where u.user_name = #{userName} and u.del_flag = '0'
    </select>
    <select id="selectUserByPhone" parameterType="String" resultMap="SysUserResult">
        <include refid="selectUserVo"/>
        where u.phonenumber = #{phone} and u.del_flag = '0'
    </select>
    <select id="selectUserById" parameterType="Long" resultMap="SysUserResult">
        <include refid="selectUserVo"/>
        where u.user_id = #{userId}