<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Mr.Xie]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/HellowWord_</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; HellowWord_]]></copyright><item><title><![CDATA[Linq学习记录]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/132892796</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/132892796</guid><author>HellowWord_</author><pubDate>Thu, 14 Sep 2023 23:34:26 +0800</pubDate><description><![CDATA[对linq日常开发的总结和学习]]></description><category></category></item><item><title><![CDATA[java 基本类型和包装类型 数值类型的比较]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/129258330</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/129258330</guid><author>HellowWord_</author><pubDate>Tue, 28 Feb 2023 11:33:04 +0800</pubDate><description><![CDATA[int和int之间，用==比较，肯定为true。基本数据类型没有equals方法
int和Integer比较，Integer会自动拆箱，== 和 equals都肯定为true
int和new Integer比较，Integer会自动拆箱，调用intValue方法, 所以 == 和 equals都肯定为true
Integer和Integer比较的时候，由于直接赋值的话会进行自动的装箱。所以当值在[-128,127]中的时候，由于值缓存在IntegerCache中，那么当赋值在这个区间的时候，不会创建新的In]]></description><category></category></item><item><title><![CDATA[springboot静态资源访问不了，被拦截器（Interceptor）拦截]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/124180363</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/124180363</guid><author>HellowWord_</author><pubDate>Thu, 14 Apr 2022 20:14:40 +0800</pubDate><description><![CDATA[springboot静态资源访问不了，被拦截器（Interceptor）拦截]]></description><category></category></item><item><title><![CDATA[rabbitMQ]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/123207949</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/123207949</guid><author>HellowWord_</author><pubDate>Tue, 01 Mar 2022 15:53:15 +0800</pubDate><description><![CDATA[docker进入rabbitMQ管理配置中


docker exec -it 镜像ID bash

添加用户


rabbitmqctl add_user teenagers teenagers_rabbit

查看用户列表


rabbitmqctl list_users

为用户设置角色：


rabbitmqctl set_user_tags teenagers administrator

添加virtual host：


rabbitmqctl add_vhost /guard

为用户设置v]]></description><category></category></item><item><title><![CDATA[事务开启SpringBoot报错 The bean ‘xxxImpl’ could not be injected as a ‘com.xxx.service.impl.xxxServiceImpl]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/122329084</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/122329084</guid><author>HellowWord_</author><pubDate>Wed, 05 Jan 2022 18:14:25 +0800</pubDate><description><![CDATA[问题描述
项目在注入Service时报出动态代理错误问题，如果在自动装配的时候直接以实现类来声明变量，会出现CGLib错误。

例如，在UserController类里自动装配了UserServiceImpl类型的变量：


@Autowired
UserServiceImpl userService;

@RequestMapping("/xxx")
public Result xxx() {
	// 调用方法
	userService.fun();
}



那么运行的时候就会报错：


******.]]></description><category></category></item><item><title><![CDATA[MybatisPlus使用Wrapper实现查询功能]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/122208312</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/122208312</guid><author>HellowWord_</author><pubDate>Wed, 29 Dec 2021 09:20:51 +0800</pubDate><description><![CDATA[Wrapper---条件查询器

　　：使用它可以实现很多复杂的查询

1.条件查询

1.1查询name不为空的用户，并且邮箱不为空的用户，年龄大于等于12的用户


//查询name不为空的用户，并且邮箱不为空的用户，年龄大于等于12
 @Test
 void selectBy01(){
 ​
     QueryWrapper&lt;User&gt; wrapper=new QueryWrapper&lt;&gt;();
     wrapper
             .isNotNull("n.]]></description><category></category></item><item><title><![CDATA[springboot整合Redis之RedisUtils工具类]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121525754</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121525754</guid><author>HellowWord_</author><pubDate>Wed, 24 Nov 2021 21:39:55 +0800</pubDate><description><![CDATA[@Component
public final class RedisUtil {

    @Autowired
    private RedisTemplate&lt;String, Object&gt; redisTemplate;

    // =============================common============================
    /**
     * 指定缓存失效时间
     * @param key  键
     * @param tim.]]></description><category></category></item><item><title><![CDATA[springboot读取配置文件properties和yml的方式]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121517642</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121517642</guid><author>HellowWord_</author><pubDate>Wed, 24 Nov 2021 15:58:31 +0800</pubDate><description><![CDATA[前言:在springboot 项目中一般默认的配置文件是application.properties,但是实际项目中我们一般会使用application.yml 文件,下面就介绍一下在springboot 中读取 yml 配置的几种方式.

yml 文件规则

yml文件的好处，天然的树状结构，一目了然，实质上跟properties是差不多的。
	不支持tab缩进
	可以使用 "-小写字母" 或 "_小写字母"来 代替 "大写字母",如 userName 与 user-name ,user_name 含义是]]></description><category></category></item><item><title><![CDATA[关于springboot中web项目，上传图片和文件后页面访问不到]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121316494</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121316494</guid><author>HellowWord_</author><pubDate>Sun, 14 Nov 2021 13:16:31 +0800</pubDate><description><![CDATA[上传完图片并不会保存到项目的/images/firstPicture 文件夹里，

而是会保存到tomcat服务器下

图片路径地址  C:\Users\你的用户名\AppData\Local\Temp\tomcat-docbase.8080.100855160746792444\images\firstPicture\文件名



/images/firstPicture 则是你访问文件时的虚拟目录的路径


String realPath = request.getServletContext...]]></description><category></category></item><item><title><![CDATA[左右连接和内连接的区别]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121313985</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121313985</guid><author>HellowWord_</author><pubDate>Sun, 14 Nov 2021 09:24:35 +0800</pubDate><description><![CDATA[首先，我这有两个表，里面的数据去这样的：
表和数据准备好了，接下来进行操作：
（1）先说左连接查询：
左连接：在 LEFT JOIN 左边的表里面数据全被全部查出来，右边的数据只会查出符合ON后面的符合条件的数据，不符合的会用NULL代替。

（2）右连接查询：

右连接：与 LEFT JOIN 正好相反，右边的数据会会全部查出来，左边只会查出ON后面符合条件的数据，不符合的会用NULL代替。

（3）内连接查询：



内连接：相当于左连接与右连接的合并，去掉所有含NULL的数据行，剩下的就是查询出来的数]]></description><category></category></item><item><title><![CDATA[关于Mybatis pagehelper 中只有一页的问题]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121312431</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121312431</guid><author>HellowWord_</author><pubDate>Sun, 14 Nov 2021 00:09:40 +0800</pubDate><description><![CDATA[在service实现类中开启分页


PageHelper.startPage(pageNum,pageSize);
List&lt;Blog&gt; blogs = blogMapper.frontBlogList();

controller中


List&lt;Blog&gt; blogs = blogService.blogList(pageNum,7);

PageInfo&lt;Blog&gt; page=new PageInfo&lt;&gt;(blogs);

查询到的记录数只有7条，pa]]></description><category></category></item><item><title><![CDATA[springmvc controller 以map接收请求参数]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121253378</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121253378</guid><author>HellowWord_</author><pubDate>Wed, 10 Nov 2021 17:52:17 +0800</pubDate><description><![CDATA[在 Map&lt;String,Object&gt; 前加@RequestParam




]]></description><category></category></item><item><title><![CDATA[idea 无法下载源码问题]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121235157</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121235157</guid><author>HellowWord_</author><pubDate>Tue, 09 Nov 2021 19:41:39 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[MyBatis pageHelper]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121196548</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121196548</guid><author>HellowWord_</author><pubDate>Sun, 07 Nov 2021 20:34:12 +0800</pubDate><description><![CDATA[步骤(maven方式)：

  1)、引入PageHelper jar包坐标;

  代码截图







PageHelper jar包引入

  2)、在SqlSessionFactoryBean中配置PageHelper的分页插件；

      注:该插件的位置是固定的不能随意更改;

  代码截图：







配置PageHelper插件

    说明：

       PageInterceptor实例中的参数，可以设置多个，具体参数...]]></description><category></category></item><item><title><![CDATA[spring整合shiro时，静态资源导入失败]]></title><link>https://blog.youkuaiyun.com/HellowWord_/article/details/121189788</link><guid>https://blog.youkuaiyun.com/HellowWord_/article/details/121189788</guid><author>HellowWord_</author><pubDate>Sun, 07 Nov 2021 12:09:11 +0800</pubDate><description><![CDATA[#指定静态资源路径 （不加使用shiro时js会引入失败）

spring.resources.static-locations=classpath:/static/

]]></description><category></category></item></channel></rss>