aijinhui
2024-01-13 da0fa1886b66e4d940f684da313d6160d478159f
ard-work/src/main/resources/mapper/sy/ArdSyUserMapper.xml
@@ -60,7 +60,7 @@
        right join sys_user su on asu.sys_user_id = su.user_id
        <where>
            <if test="sysUserId != null  and sysUserId != ''"> and sys_user_id = #{sysUserId}</if>
            <if test="userId != null  and userId != ''"> and user_id = #{userId}</if>
            <if test="userId != null  and userId != ''"> and asu.user_id = #{userId}</if>
            <if test="password != null  and password != ''"> and password = #{password}</if>
            <if test="reserved1 != null  and reserved1 != ''"> and reserved_1 = #{reserved1}</if>
            <if test="reserved2 != null  and reserved2 != ''"> and reserved_2 = #{reserved2}</if>
@@ -124,4 +124,12 @@
        select * from sys_user su where su.del_flag = '0'
        and su.user_id not in (select asu.sys_user_id from ard_sy_user asu)
    </select>
    <select id="userById" parameterType="String" resultMap="ArdSyUserResult">
        <include refid="selectArdSyUserVo"/>
        where sys_user_id = #{id}
    </select>
    <select id="selectSyUser" resultMap="ArdSyUserResult">
        select distinct asu.user_id,asu.password from ard_sy_user asu
    </select>
</mapper>