<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[tyjlearning的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/tyjlearning</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; tyjlearning]]></copyright><item><title><![CDATA[el-table实现虚拟滚动]]></title><link>https://blog.csdn.net/tyjlearning/article/details/132320503</link><guid>https://blog.csdn.net/tyjlearning/article/details/132320503</guid><author>tyjlearning</author><pubDate>Wed, 16 Aug 2023 15:23:20 +0800</pubDate><description><![CDATA[基于Element-UI的Table 组件开发的虚拟滚动组件，支持动态高度，解决数据量大时滚动卡顿的问题。依赖：Vue2和ElementUI。]]></description><category></category></item><item><title><![CDATA[Java8 Stream 之groupingBy 分组]]></title><link>https://blog.csdn.net/tyjlearning/article/details/132224555</link><guid>https://blog.csdn.net/tyjlearning/article/details/132224555</guid><author>tyjlearning</author><pubDate>Fri, 11 Aug 2023 09:45:00 +0800</pubDate><description><![CDATA[groupbying]]></description><category></category></item><item><title><![CDATA[el-autocomplete 下拉选线添加一个固定按钮]]></title><link>https://blog.csdn.net/tyjlearning/article/details/131901362</link><guid>https://blog.csdn.net/tyjlearning/article/details/131901362</guid><author>tyjlearning</author><pubDate>Mon, 24 Jul 2023 17:38:10 +0800</pubDate><description><![CDATA[【代码】el-autocomplete 下拉选线添加一个固定按钮。]]></description><category></category></item><item><title><![CDATA[＜el-select＞ 在下拉选项框中添加一个按钮，实现子选项的添加]]></title><link>https://blog.csdn.net/tyjlearning/article/details/131898645</link><guid>https://blog.csdn.net/tyjlearning/article/details/131898645</guid><author>tyjlearning</author><pubDate>Mon, 24 Jul 2023 16:09:04 +0800</pubDate><description><![CDATA[【代码】＜el-select＞ 在下拉选项框中添加一个按钮，实现子选项的添加。]]></description><category></category></item><item><title><![CDATA[vue毫无关系的两个页面之间的调用]]></title><link>https://blog.csdn.net/tyjlearning/article/details/126034140</link><guid>https://blog.csdn.net/tyjlearning/article/details/126034140</guid><author>tyjlearning</author><pubDate>Thu, 28 Jul 2022 14:24:20 +0800</pubDate><description><![CDATA[vue毫无关系的两个页面之间的调用]]></description><category></category></item><item><title><![CDATA[Failed to convert value of type ‘java.lang.String‘ to required type ‘java.time.LocalDate‘]]></title><link>https://blog.csdn.net/tyjlearning/article/details/123103933</link><guid>https://blog.csdn.net/tyjlearning/article/details/123103933</guid><author>tyjlearning</author><pubDate>Thu, 24 Feb 2022 09:05:25 +0800</pubDate><description><![CDATA[@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
private LocalDate mouldOpeningDate;


]]></description><category></category></item><item><title><![CDATA[spring boot 后端控制controller重复提交]]></title><link>https://blog.csdn.net/tyjlearning/article/details/122306683</link><guid>https://blog.csdn.net/tyjlearning/article/details/122306683</guid><author>tyjlearning</author><pubDate>Tue, 04 Jan 2022 16:57:39 +0800</pubDate><description><![CDATA[1.添加依赖


&lt;dependency&gt;
    &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
    &lt;artifactId&gt;spring-boot-starter-aop&lt;/artifactId&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
    &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
    &lt;art]]></description><category></category></item><item><title><![CDATA[如何把本地项目上传到gitee上]]></title><link>https://blog.csdn.net/tyjlearning/article/details/121717480</link><guid>https://blog.csdn.net/tyjlearning/article/details/121717480</guid><author>tyjlearning</author><pubDate>Sat, 04 Dec 2021 16:18:09 +0800</pubDate><description><![CDATA[如何把本地项目上传到gitee上]]></description><category></category></item><item><title><![CDATA[详细理解HashMap数据结构]]></title><link>https://blog.csdn.net/tyjlearning/article/details/121440866</link><guid>https://blog.csdn.net/tyjlearning/article/details/121440866</guid><author>tyjlearning</author><pubDate>Sat, 20 Nov 2021 16:02:10 +0800</pubDate><description><![CDATA[1，HashMap集合简介
HashMap基于哈希表的Map接口实现，是以key-value存储形式存在，即主要用来存放键值对。HashMap的实现不是同步的，这意味着它不是线程安全的。它的key、value都可以为null。此外，HashMap中的映射不是有序的。

JDK1.8之前的HashMap由数组+链表组成的，数组是HashMap的主体，链表则是主要为了节解决哈希碰撞(两个对象调用的hashCode方法计算的哈希码值一致导致计算的数组索引值相同)而存在的（“拉链法”解决冲突）。

JDK1.8之后]]></description><category></category></item><item><title><![CDATA[element ui 表格里面动态嵌入el-input，无法自动获取el-input 焦点的问题]]></title><link>https://blog.csdn.net/tyjlearning/article/details/118158422</link><guid>https://blog.csdn.net/tyjlearning/article/details/118158422</guid><author>tyjlearning</author><pubDate>Wed, 23 Jun 2021 17:44:42 +0800</pubDate><description><![CDATA[1.


:id="'input_'+scope.$index"
        &gt;



2.


this.$nextTick(() =&gt; {
    document.getElementById('input_'+index).focus();
},100);
]]></description><category></category></item><item><title><![CDATA[Dart知识（下）]]></title><link>https://blog.csdn.net/tyjlearning/article/details/116456205</link><guid>https://blog.csdn.net/tyjlearning/article/details/116456205</guid><author>tyjlearning</author><pubDate>Thu, 06 May 2021 16:10:27 +0800</pubDate><description><![CDATA[Dart面向对象编程

面向对象编程(OOP)的三个基本特征是：封装、继承、多态。

封装：封装是对象和类概念的主要特性。封装，把客观事物封装成抽象的类，并且把自己的部分属性和方法提供给其他对象调用, 而一部分属性和方法则隐藏。

继承：面向对象编程 (OOP) 语言的一个主要功能就是“继承”。继承是指这样一种能力：它可以使用现有类的功能，并在无需重新编写原来的类的情况下对这些功能进行扩展。

多态：允许将子类类型的指针赋值给父类类型的指针, 同一个函数调用会有不同的执行效果 。

[温馨小贴士:]

1、]]></description><category></category></item><item><title><![CDATA[vue elementUI组件表单动态验证失效的问题与解决办法]]></title><link>https://blog.csdn.net/tyjlearning/article/details/114373575</link><guid>https://blog.csdn.net/tyjlearning/article/details/114373575</guid><author>tyjlearning</author><pubDate>Thu, 04 Mar 2021 17:26:16 +0800</pubDate><description><![CDATA[一、缘由
在项目中，有一个需求是需要根据条件给表单项添加验证属性prop确定是否验证表项。

二、第一次实现与遇到的问题
比如银行卡号根据输入年龄进行判断，如果大于等于18岁才需要填入银行卡号。最先的想法先设置好el-form的rules，然后通过三元表达式赋值prop属性，实现动态验证，示例如下：

&lt;template&gt;
 &lt;el-form ref="ruleForm" :model="formData" :rules="rules"&gt;
  &lt;el-form-item ...]]></description><category></category></item><item><title><![CDATA[java8 LocalDate、LocalTime和LocalDateTime的基本使用以及和String、Date的相互转换]]></title><link>https://blog.csdn.net/tyjlearning/article/details/113352983</link><guid>https://blog.csdn.net/tyjlearning/article/details/113352983</guid><author>tyjlearning</author><pubDate>Thu, 28 Jan 2021 17:36:13 +0800</pubDate><description><![CDATA[LocalDate

用于处理日期，yyyy-MM-dd格式。

LocalDate的基本用法
	LocalDate localDate = LocalDate.now();
			获取当前日期
		String format = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
			LocalDate转String
		LocalDate parse = LocalDate.parse("2020-01-17", Dat]]></description><category></category></item><item><title><![CDATA[Spring Security 实现多个登录接口]]></title><link>https://blog.csdn.net/tyjlearning/article/details/111310847</link><guid>https://blog.csdn.net/tyjlearning/article/details/111310847</guid><author>tyjlearning</author><pubDate>Thu, 17 Dec 2020 10:58:13 +0800</pubDate><description><![CDATA[1. 前言

欢迎阅读Spring Security 实战干货系列文章 。最近有开发小伙伴提了一个有趣的问题。他正在做一个项目，涉及两种风格，一种是给小程序出接口，安全上使用无状态的JWT Token；另一种是管理后台使用的是Freemarker，也就是前后端不分离的Session机制。用Spring Security该怎么办？

2. 解决方案

我们可以通过多次继承WebSecurityConfigurerAdapter构建多个HttpSecurity。HttpSecurity对象会告诉我们如何验...]]></description><category></category></item><item><title><![CDATA[Map总结]]></title><link>https://blog.csdn.net/tyjlearning/article/details/111168416</link><guid>https://blog.csdn.net/tyjlearning/article/details/111168416</guid><author>tyjlearning</author><pubDate>Mon, 14 Dec 2020 14:26:48 +0800</pubDate><description><![CDATA[一、当两个对象的 hashCode 相同会发生什么？

因为 hashCode 相同，不一定就是相等的(equals方法比较)，所以两个对象所在数组的下标相同，"碰撞"就此发生。又因为 HashMap 使用链表存储对象，这个 Node 会存储到链表中。

二、说说 hash 的实现。为什么要这样实现？

JDK 1.8 中，是通过 hashCode() 的高 16 位异或低 16 位实现的：(h = k.hashCode()) ^ (h &gt;&gt;&gt; 16)。主要是从速度、功效和质量来考虑的，减]]></description><category></category></item><item><title><![CDATA[WORD、EXCEL、图片转PDF]]></title><link>https://blog.csdn.net/tyjlearning/article/details/110235061</link><guid>https://blog.csdn.net/tyjlearning/article/details/110235061</guid><author>tyjlearning</author><pubDate>Fri, 27 Nov 2020 16:12:49 +0800</pubDate><description><![CDATA[/*
 * Copyright (c) 2018, QiJuBian and/or its affiliates. All rights reserved.
 * QiJuBian PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.qijubian.commons;

import com.aspose.cells.License;
import com.itextpdf.text.DocumentExc.]]></description><category></category></item><item><title><![CDATA[java基于word模板动态生成word及转pdf实践]]></title><link>https://blog.csdn.net/tyjlearning/article/details/110234925</link><guid>https://blog.csdn.net/tyjlearning/article/details/110234925</guid><author>tyjlearning</author><pubDate>Fri, 27 Nov 2020 16:10:56 +0800</pubDate><description><![CDATA[在项目中很容易会遇到需要动态生成pdf的应用场景，其实现方式也比较多

由于项目的关系，对于这种组件性的开发方式我想的是怎么方便怎么来，怎么快就怎么来

在咨询了之前做政务系统的同学后，他们都一致推荐我使用aspose框架来实现，因为它的效率高并且简单方便使用

在看了下aspose的官网和对demo简单体验了之后感觉确实很方便，为了后面项目中万一又遇到有需要的场景可以信手拈来，这里我简单在此处记录一下

下载地址


https://downloads.aspose.com/words/java


选择]]></description><category></category></item><item><title><![CDATA[spring security 整合 jwt]]></title><link>https://blog.csdn.net/tyjlearning/article/details/109597953</link><guid>https://blog.csdn.net/tyjlearning/article/details/109597953</guid><author>tyjlearning</author><pubDate>Tue, 10 Nov 2020 14:30:12 +0800</pubDate><description><![CDATA[一、概念
JWT：JSON Web Token，一个基于JSON的令牌标准，令牌中可以含有有意义的信息

二、会话管理 之 Token原理

1、用户登录时，服务器端 加密 用户ID 和 过期时间 组成的字符串，得到token，发放给客户端
2、客户端每次发送请求都带上token
3、服务器端 解密token 或者 验证token，从而得到用户ID 和 会话过期时间

token生成方案：
token = user_id|expiry_date|HMAC(user_id|expiry_date, key)
]]></description><category></category></item><item><title><![CDATA[JS 预览本地文件生成浏览器可识别的URL]]></title><link>https://blog.csdn.net/tyjlearning/article/details/108777309</link><guid>https://blog.csdn.net/tyjlearning/article/details/108777309</guid><author>tyjlearning</author><pubDate>Thu, 24 Sep 2020 16:29:43 +0800</pubDate><description><![CDATA[function getObjectURL(file) { 
    var url = null ; 
    if (window.createObjectURL!=undefined) { 
     url = window.createObjectURL(file) ; 
    } else if (window.URL!=undefined) { 
     url = window.URL.createObject...]]></description><category></category></item><item><title><![CDATA[把JSON字符串转换为List]]></title><link>https://blog.csdn.net/tyjlearning/article/details/108730636</link><guid>https://blog.csdn.net/tyjlearning/article/details/108730636</guid><author>tyjlearning</author><pubDate>Tue, 22 Sep 2020 13:53:34 +0800</pubDate><description><![CDATA[1.JSON字符串
  String content = "[{" +
      "  \"key\": \"UserRole\"," +
      "  \"name\": \"员工角色\"" +
      "}, {" +
      "  \"key\": \"RolePermission\"," +
      "  \"name\": \"角色权限\"" +
      "}]";

2.映射实体...]]></description><category></category></item></channel></rss>