tangzy
2021-07-09 c9f71b335b4c37de51fc7c4cb2304093abd6a715
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -41,7 +41,6 @@
    <select id="selectUserPage" resultMap="userResultMap">
        select * from blade_user where is_deleted = 0
            and tenant_id!=000000
        <if test="user.tenantId!=null and user.tenantId != ''">
            and tenant_id = #{user.tenantId}
        </if>
@@ -95,4 +94,8 @@
        SELECT id, tenant_id, user_type, account, name, real_name, email, phone, birthday, role_id, dept_id, post_id FROM blade_user ${ew.customSqlSegment}
    </select>
    <update id="updateUser">
        update blade_user set hold=#{hold} where cardid=#{cardid}
    </update>
</mapper>