<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[9347的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/mahe9347</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mahe9347]]></copyright><item><title><![CDATA[list去重方法]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/125334685</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/125334685</guid><author>mahe9347</author><pubDate>Fri, 17 Jun 2022 15:43:12 +0800</pubDate><description><![CDATA[List list= new ArrayListList relist = list.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(
 () -> new TreeSet(Comparator.comparing(user-> user.getCode() + "#" + user.getName() + "#" + user.getAge()))),
 ArrayList:]]></description><category></category></item><item><title><![CDATA[mysql 一对多根据最新创建时间取最新一条]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/120825144</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/120825144</guid><author>mahe9347</author><pubDate>Mon, 18 Oct 2021 14:01:57 +0800</pubDate><description><![CDATA[select b1.*
from follow_db b1
where (select COUNT(1)
       from follow_db b2
       where b2.clue_id = b1.clue_id and b1.create_time &lt;= b2.create_time ) &lt;= 1;
]]></description><category></category></item><item><title><![CDATA[2020-10-14]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/109075814</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/109075814</guid><author>mahe9347</author><pubDate>Wed, 14 Oct 2020 15:51:53 +0800</pubDate><description><![CDATA[&lt;style&gt;@media only screen and (max-width: 800px){.catIframe{display:none;}}.catIframe {position: fixed;width: 400px;bottom: 10%;left: 5%;transform: translate(-68%, -50%);z-idnex:99999;} &lt;/style&gt;&lt;iframe src="https://zhanyuzhang.github.io/love]]></description><category></category></item><item><title><![CDATA[2020-09-18]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/108658041</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/108658041</guid><author>mahe9347</author><pubDate>Fri, 18 Sep 2020 08:55:13 +0800</pubDate><description><![CDATA[例子：判断dead 表中的url是否包含'http://'子串,如果不包含则拼接在url字符串开头
update dead set url =concat('http://',url) where locate('http://',url)=0
]]></description><category></category></item><item><title><![CDATA[MySQL 多表关联一对多查询实现取最新一条数据的方法示例]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/107249444</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/107249444</guid><author>mahe9347</author><pubDate>Fri, 10 Jul 2020 14:04:19 +0800</pubDate><description><![CDATA[SELECT
 cr.id,
 cr.real_name,
 oi.industry,
 oi.nature_tax
FROM
 customer AS cr
LEFT JOIN (
 slect fowlloname,fowlloid from (select follow_name as fowlloname,fowlloi_d as fowlloid from fowll_info fl where 1=1 order by

fl .follow_name ...]]></description><category></category></item><item><title><![CDATA[配置数据源失败：未指定“url”属性，无法配置嵌入的数据源。]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/107177845</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/107177845</guid><author>mahe9347</author><pubDate>Tue, 07 Jul 2020 11:32:00 +0800</pubDate><description><![CDATA[问题：

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class


Action:

Consider the following:
 If you want an embedded databa...]]></description><category></category></item><item><title><![CDATA[RabbitMQ下载与安装(window版)]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/107020155</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/107020155</guid><author>mahe9347</author><pubDate>Mon, 29 Jun 2020 14:52:04 +0800</pubDate><description><![CDATA[转载：https://www.jianshu.com/p/3d43561bb3ee

官网开道

RabbitMQ下载与安装英文教程

下载与安装 erlang

由于RabbitMQ是基于erlang的，所以，在正式安装RabbitMQ之前，需要先安装一下erlang。

erlang与RabbitMQ版本的对应关系，如：RabbitMQ3.6.10，建议的erlang版本是19.3.x(安装前必看)

Erlang下载地址（各版本都可下载）

我下载的是19.3，地址：http://erlang.org]]></description><category></category></item><item><title><![CDATA[easypoi 合并导出，出现空值无边框问题]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/106143216</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/106143216</guid><author>mahe9347</author><pubDate>Fri, 15 May 2020 15:33:10 +0800</pubDate><description><![CDATA[easypoi 合并导出 出现空值无边框，是因为设置的样式不能赋给空值，所以只需要把可能存在的空值的类，进行空判断，直接new对象就可以解决。



实例：

for (int j = 0; j &lt; trInfo.size(); j++) {
  trVo trVo = new trVo();
  if(clVo.getclCode().equals(trInfo.get(j).get("clCode"))){
   trVo.setComTime(trIn...]]></description><category></category></item><item><title><![CDATA[面试]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/105974644</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/105974644</guid><author>mahe9347</author><pubDate>Thu, 07 May 2020 16:01:17 +0800</pubDate><description><![CDATA[webapp文件夹和WebContent文件夹的区别？



这两者的区别在于如何创建工程:

如果创建工程是在eclipse通过File→New→Dynamic web project，得到的就是WebContent。

如果通过maven创建得到的就是webapp。

如果工程中使用了maven，建议把WebContent改为webapp。webapp是maven规定的目录名，很多maven...]]></description><category></category></item><item><title><![CDATA[使用eclipse的maven创建web项目添加webapp下的目录和web.xml（转载）]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/105972422</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/105972422</guid><author>mahe9347</author><pubDate>Thu, 07 May 2020 14:42:09 +0800</pubDate><description><![CDATA[记录一下
]]></description><category></category></item><item><title><![CDATA[Mybatis Generator最完整配置详解 （转载）]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/105966662</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/105966662</guid><author>mahe9347</author><pubDate>Thu, 07 May 2020 10:13:58 +0800</pubDate><description><![CDATA[&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE generatorConfiguration
  PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-confi...]]></description><category></category></item><item><title><![CDATA[Spring boot - java.net.ConnectException: Connection refused: connect]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/105944526</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/105944526</guid><author>mahe9347</author><pubDate>Wed, 06 May 2020 09:52:31 +0800</pubDate><description><![CDATA[eureka:
 instance:
  preferIpAddress: true
  statusPageUrlPath: /swagger-ui.html
  #leaseRenewalIntervalInSeconds: 5
  #leaseExpirationDurationInSeconds: 10
  #metadata-map:
   #comp...]]></description><category></category></item><item><title><![CDATA[使用mybatis-generator自动生成mapper失败]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/105860579</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/105860579</guid><author>mahe9347</author><pubDate>Thu, 30 Apr 2020 14:09:03 +0800</pubDate><description><![CDATA[错误提示：

No plugin found for prefix 'mybatis-generator' in the current project and in the plugin groups [org.mortbay.jetty, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [...]]></description><category></category></item><item><title><![CDATA[Excel合并两列]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/104512566</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/104512566</guid><author>mahe9347</author><pubDate>Wed, 26 Feb 2020 11:10:38 +0800</pubDate><description><![CDATA[调整的思路，在合并前，合并后的代码添加日志，分析日志的情况，进行修改判断条件

数据结构是一个客户对应两台电脑，显示电脑信息，合并客户信息





根据https://blog.youkuaiyun.com/qq_33142257/article/details/64929145这个案例，进行修改符合了自己只合并两列的要求

第一  /*当前行的当前列与上一行的当前列的内容不一致时，则把当前行以上...]]></description><category></category></item><item><title><![CDATA[java.io.OutputStream & java.io.FileOutputStream]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/104432225</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/104432225</guid><author>mahe9347</author><pubDate>Fri, 21 Feb 2020 18:15:51 +0800</pubDate><description><![CDATA[导出Excel到目的地

Java.io.OutputStream(字节输出流)

字节输出流，这是一个抽象类，是表示输出字节流的所有类的超类。下面是该类的子类都共有的方法：

方法
			作用
		public void close()
			关闭输出流并释放与此流相关的任何系统资源
		public void flush()
			刷新输出流，并强制任何缓冲的输出字节被写出
		public...]]></description><category></category></item><item><title><![CDATA[poi导出，出现的一些问题以及原因]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/104408774</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/104408774</guid><author>mahe9347</author><pubDate>Thu, 20 Feb 2020 12:48:33 +0800</pubDate><description><![CDATA[如果【开始行和结束行在同一行】 或者 【开始列和结束列在同一列】

这两种情况允许同时出现一种或者都不出现。

如果【开始行和结束行在同一行】 和 【开始列和结束列在同一列】同时出现的话，那就没有合并单元格的意义了。同时就会报错：【错误行号和上面例子中行号并不匹配，不必在意】


java.lang.IllegalArgumentException: Merged region...]]></description><category></category></item><item><title><![CDATA[SVN提交时出问题]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/103762068</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/103762068</guid><author>mahe9347</author><pubDate>Mon, 30 Dec 2019 10:22:08 +0800</pubDate><description><![CDATA[svn提交失败，产生原因是svn地址有http变更为https，eclipse中的项目svn地址还属于http 。

解决办法，废弃eclipse中的svn地址，重新创建地址


]]></description><category></category></item><item><title><![CDATA[extjs4 ----》粘贴到myeclipse总是报错，内存不足]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/42654289</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/42654289</guid><author>mahe9347</author><pubDate>Mon, 12 Jan 2015 23:09:37 +0800</pubDate><description><![CDATA[解决办法1：把extjs4的工程安装包不要放到web工程中就ok    或者建议直接用myeclipse直接导入的exjts4包，就没问题。
解决办法2：导入ExtJS包，这样会卡死eclipse的。去到工程根目录下，找到.project，用记事本打开，把两处删除掉：
 
第一处：
 

         org.eclipse.wst.jsdt.core.javascriptVali]]></description><category></category></item><item><title><![CDATA[checkbox点击事件，追加到后面]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/41014879</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/41014879</guid><author>mahe9347</author><pubDate>Tue, 11 Nov 2014 18:02:50 +0800</pubDate><description><![CDATA[checkbox


/**
* 给隐藏域的name赋值,便于name组装成一个数组
* @checkIndex 选择的checkBox对象所在的索引下标
* @dataValue 需要对目录对象赋值的值
*/
function datanameEnable(checkObj) {
var checkObjList = document.getElementsByName("ch]]></description><category></category></item><item><title><![CDATA[div显示/隐藏]]></title><link>https://blog.youkuaiyun.com/mahe9347/article/details/41014859</link><guid>https://blog.youkuaiyun.com/mahe9347/article/details/41014859</guid><author>mahe9347</author><pubDate>Tue, 11 Nov 2014 18:01:43 +0800</pubDate><description><![CDATA[短信发送



    //发送短信，显示/隐藏
    function checkBox(cb) {
        var oOne = document.getElementById("one");
        var oTwo = document.getElementById("two");
        var oDiv1 = document.getEleme]]></description><category></category></item></channel></rss>