<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ythook的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ythook</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ythook]]></copyright><item><title><![CDATA[下载visual studio 2022 Professional 离线包]]></title><link>https://blog.csdn.net/ythook/article/details/123437060</link><guid>https://blog.csdn.net/ythook/article/details/123437060</guid><author>ythook</author><pubDate>Sat, 12 Mar 2022 00:38:27 +0800</pubDate><description><![CDATA[下载visual studio 2022 Professional 离线包

1、先去官网下载下载你想要的安装包，放在D:\Download目录下，例如：vs_professional.exe。
2、以管理员身份打开一个命令提示符，执行以下命令，等待下载即可。

点此去微软官网下载安装包
D:\Download\vs_professional.exe --layout D:\Download\VS2022Professional --lang zh-CN


...]]></description><category></category></item><item><title><![CDATA[SpringBoot 中使用 @Value 读取配置文件中的参数始终为null]]></title><link>https://blog.csdn.net/ythook/article/details/114583627</link><guid>https://blog.csdn.net/ythook/article/details/114583627</guid><author>ythook</author><pubDate>Tue, 09 Mar 2021 15:10:21 +0800</pubDate><description><![CDATA[SpringBoot 中使用 @Value 读取配置文件中的参数始终为null

问题描述：
Spring MVC里配置文件里添加了下面几个自定义参数，但是始终获取不到配置文件里的对应值。

smsUrl=http://192.168.0.1:8888
username=888888
password=8888888

下面是错误示例
public class HttpClientUtil_WangSu {	
	@Value("#{smsProperties.smsUrl}")
	private stati]]></description><category></category></item><item><title><![CDATA[趁着闲暇时间记录SpringBoot+Vue开发之路（更新中）]]></title><link>https://blog.csdn.net/ythook/article/details/113388546</link><guid>https://blog.csdn.net/ythook/article/details/113388546</guid><author>ythook</author><pubDate>Fri, 29 Jan 2021 17:44:10 +0800</pubDate><description><![CDATA[趁着闲暇时间记录SpringBoot+Vue开发之路（更新中）参考链接一、开发环境配置1. 前端1.1 Node.js安装1.2 配置npm源1.3 vue-cli脚手架1.4 前端开发IDE2. 后端2.1 JDK2.2 后端开发IDE2.3 maven2.4 Mybatis-Plus数据库
参考链接

首先要特别鸣谢以下大神的博客，如有侵权，请告知。
Node.js、npm、vue-cli 的安装配置环境变量
设置npm源为淘宝镜像
一步步使用SpringBoot结合Vue实现登录和用户管理功能——上
]]></description><category></category></item><item><title><![CDATA[复制一个表的其中两个字段到另一个表中对应的相同字段]]></title><link>https://blog.csdn.net/ythook/article/details/112849174</link><guid>https://blog.csdn.net/ythook/article/details/112849174</guid><author>ythook</author><pubDate>Tue, 19 Jan 2021 18:20:30 +0800</pubDate><description><![CDATA[复制一个表的其中两个字段到另一个表中对应的相同字段

话不多说，直接上代码

update tbl_norm n set (n.ADDRESS_AREA, n.ADDRESS) = (
select m.ADDRESS_AREA, m.ADDRESS 
  from (
    select ID, ADDRESS_AREA, ADDRESS from tbl_info group by ID, ADDRESS_AREA, ADDRESS
  ) m where m.ID= n.ID
);


...]]></description><category></category></item><item><title><![CDATA[查询数据库表中某个字段值有重复的记录]]></title><link>https://blog.csdn.net/ythook/article/details/112849143</link><guid>https://blog.csdn.net/ythook/article/details/112849143</guid><author>ythook</author><pubDate>Tue, 19 Jan 2021 18:14:07 +0800</pubDate><description><![CDATA[查询数据库表中某个字段值有重复的记录

话不多说，直接上代码吧

select ORG_CODE, count(id) from CARCTRL.CTRL_UNUSUAL_INFO group by ORG_CODE HAVING count(id) &gt; 1;


]]></description><category></category></item><item><title><![CDATA[启用或禁用笔记本自带键盘]]></title><link>https://blog.csdn.net/ythook/article/details/112848865</link><guid>https://blog.csdn.net/ythook/article/details/112848865</guid><author>ythook</author><pubDate>Tue, 19 Jan 2021 18:05:52 +0800</pubDate><description><![CDATA[启用或禁用笔记本自带键盘]]></description><category></category></item><item><title><![CDATA[学Vue框架之前需要了解的知识]]></title><link>https://blog.csdn.net/ythook/article/details/109644360</link><guid>https://blog.csdn.net/ythook/article/details/109644360</guid><author>ythook</author><pubDate>Thu, 12 Nov 2020 15:45:48 +0800</pubDate><description><![CDATA[学Vue框架之前需要了解的知识axios HTTP 库vue-router 页面路由vuex 状态管理UI 界面组件webpack JavaScript模块打包器
axios HTTP 库

axios 中文API
Axios 是一个基于 promise 的 HTTP 库，可以用在浏览器和 node.js 中。

特性

从浏览器中创建 XMLHttpRequests
从 node.js 创建 http 请求
支持 Promise API 拦截请求和响应
转换请求数据和响应数据
取消请求
自动转换 JSON]]></description><category></category></item><item><title><![CDATA[Vue中computed和watch的区别]]></title><link>https://blog.csdn.net/ythook/article/details/108528517</link><guid>https://blog.csdn.net/ythook/article/details/108528517</guid><author>ythook</author><pubDate>Fri, 11 Sep 2020 10:21:18 +0800</pubDate><description><![CDATA[转自 https://www.cnblogs.com/jiajialove/p/11327945.html

计算属性computed :

1、支持缓存，只有依赖数据发生改变，才会重新进行计算
2、不支持异步，当computed内有异步操作时无效，无法监听数据的变化
3、computed 属性值会默认走缓存，计算属性是基于它们的响应式依赖进行缓存的，也就是基于data中声明过或者父组件传递的props中的数据通过计算得到的值
4、如果一个属性是由其他属性计算而来的，这个属性依赖其他属性，是一个多对一或者.]]></description><category></category></item><item><title><![CDATA[@Resource  和  @AutoWired 区别]]></title><link>https://blog.csdn.net/ythook/article/details/105783155</link><guid>https://blog.csdn.net/ythook/article/details/105783155</guid><author>ythook</author><pubDate>Mon, 27 Apr 2020 09:24:58 +0800</pubDate><description><![CDATA[@Resource  和  @AutoWired 区别

原作者写的很好，纯粹想保留一份方便日后查看，原链接是： https://www.yuque.com/docs/share/fe2e6770-216c-4ea8-a56c-3c94b90faf46


@Resource  默认通过名称注入 ，如名称无找到则通过类型注入
@AutoWired 默认通过类型注入，如存在多个类型则通过名称注入

...]]></description><category></category></item><item><title><![CDATA[MySQL 充会员过期时间 不用在数据库增加字段]]></title><link>https://blog.csdn.net/ythook/article/details/103314636</link><guid>https://blog.csdn.net/ythook/article/details/103314636</guid><author>ythook</author><pubDate>Fri, 29 Nov 2019 17:18:20 +0800</pubDate><description><![CDATA[因为充会员时只保存了充的时间，但又不想再加一个字段，于是在接口里多加了一个字段vipExpireDate。直接上代码，主要是用了case when。
会员状态： 2-月会员   3-年会员

CASE WHEN user_status=2 THEN DATE_ADD(vip_wx_order_date,INTERVAL 1 MONTH)
     WHEN user_status=3 THEN ...]]></description><category></category></item><item><title><![CDATA[SQL Server 获取本年最后一天]]></title><link>https://blog.csdn.net/ythook/article/details/103290622</link><guid>https://blog.csdn.net/ythook/article/details/103290622</guid><author>ythook</author><pubDate>Thu, 28 Nov 2019 11:39:36 +0800</pubDate><description><![CDATA[SQL Server 获取本年最后一天，需要输出什么格式可以自己定义。
format(dateadd(day, -1, dateadd(month, 1,convert(varchar(4),datepart(year, getdate())) + '-12-01')), 'dd-MMM-yyyy')
输出格式：

31-Dec-2019


...]]></description><category></category></item><item><title><![CDATA[visual studio 2015 Debug 打断点调试报错解决办法 the breakpoint will not correctly be hit]]></title><link>https://blog.csdn.net/ythook/article/details/94738637</link><guid>https://blog.csdn.net/ythook/article/details/94738637</guid><author>ythook</author><pubDate>Fri, 05 Jul 2019 16:10:16 +0800</pubDate><description><![CDATA[报错信息：（断点处显示黄色）
The breakpoint will not currently be hit. No symbols have been loaded for this document.


解决办法：
Debug=&gt;Options=&gt;General =&gt; Remove the check mark for “Enable Just My Code”
其实就...]]></description><category></category></item><item><title><![CDATA[接口文档]]></title><link>https://blog.csdn.net/ythook/article/details/85256052</link><guid>https://blog.csdn.net/ythook/article/details/85256052</guid><author>ythook</author><pubDate>Wed, 26 Dec 2018 00:22:08 +0800</pubDate><description><![CDATA[目录
1. 规则/奖品页面接口

1. 规则/奖品页面接口
接口功能

规则/奖品页面

URL

http://120.78.154.91/MicroEvent/AddEvent/GetEventPrize

支持格式

String

HTTP请求方式

GET

请求参数




参数
必选
类型
说明




keyvalue
True
String
活动ID


返回字段




返回字...]]></description><category></category></item><item><title><![CDATA[Unable to launch the IIS Express Web server 问题之解决 - [Visual Studio 2015]]]></title><link>https://blog.csdn.net/ythook/article/details/84567640</link><guid>https://blog.csdn.net/ythook/article/details/84567640</guid><author>ythook</author><pubDate>Tue, 27 Nov 2018 16:04:24 +0800</pubDate><description><![CDATA[
背景：Visual Studio 2015 在 Debug 模式下调试失败。


报错如下图所示：



解决办法：
删除解决方案下 .vs/config 文件夹内的这个配置文件，再关闭并重新运行解决方案即可进行调试。



...]]></description><category></category></item><item><title><![CDATA[C# listview 单击列头实现排序 （封装直接调用很方便）]]></title><link>https://blog.csdn.net/ythook/article/details/82345348</link><guid>https://blog.csdn.net/ythook/article/details/82345348</guid><author>ythook</author><pubDate>Mon, 03 Sep 2018 10:39:46 +0800</pubDate><description><![CDATA[
  首先，我要感谢 fairystepwgl 这位博客大神，因为这个封装的使用实在是太方便了。 
  https://www.cnblogs.com/felix-wang/p/6248909.html



封装方法 ListViewHelper


using System;
using System.Collections.Generic;
using System.Text;

names...]]></description><category></category></item><item><title><![CDATA[批处理命令完成应用池和网站的添加、删除、启动和停止]]></title><link>https://blog.csdn.net/ythook/article/details/81983742</link><guid>https://blog.csdn.net/ythook/article/details/81983742</guid><author>ythook</author><pubDate>Thu, 23 Aug 2018 16:45:17 +0800</pubDate><description><![CDATA[
  最近接到一个任务：使用批处理命令完成以下几个功能。



Stop IIS Service
Start IIS Service
Stop AppPool
Start AppPool
Create AppPool
Create Application Path



  经过一番搜索也有些头绪，便开始了批处理文件的编写……




@echo off&amp;amp;cls

:: For AppPo...]]></description><category></category></item><item><title><![CDATA[C# Winform 控件大小随窗体大小等比例缩放]]></title><link>https://blog.csdn.net/ythook/article/details/81867736</link><guid>https://blog.csdn.net/ythook/article/details/81867736</guid><author>ythook</author><pubDate>Mon, 20 Aug 2018 10:57:52 +0800</pubDate><description><![CDATA[
  当你的编程能力有了一定提升之后，那你在敲代码的时候就得开始想想怎么将自己的写的代码组件化了。所谓组件化，就是将代码中公共模块的代码提取出来作为一个方法或函数，使其能够被其他程序或者他人直接使用。


public Form1()
{
    InitializeComponent();
    x = this.Width;
    y = this.Height;
    setTag(t...]]></description><category></category></item><item><title><![CDATA[C# Winform 后台线程阻塞 窗体界面无响应解决办法--BeginInvoke]]></title><link>https://blog.csdn.net/ythook/article/details/81189205</link><guid>https://blog.csdn.net/ythook/article/details/81189205</guid><author>ythook</author><pubDate>Tue, 24 Jul 2018 17:41:44 +0800</pubDate><description><![CDATA[
  话不多说，先上代码。（纯手打，有错误请指出来）


//导入按钮点击事件
private void btn_import_Click(object sender,EventArgs e)
{
    //1.绑定需要执行的操作方法
    var act = new Action(Import);
    act.BeginInvoke(ar =&amp;amp;gt; act.EndInvoke(ar),...]]></description><category></category></item><item><title><![CDATA[Js 数组去重 - Hash方法]]></title><link>https://blog.csdn.net/ythook/article/details/80827243</link><guid>https://blog.csdn.net/ythook/article/details/80827243</guid><author>ythook</author><pubDate>Wed, 27 Jun 2018 12:07:05 +0800</pubDate><description><![CDATA[1 . 只做判断无返回数组时，可用如下方法：

function isRepeat(arr){
        var hash = {}, type = '';
        for(var i in arr){
            type = Object.prototype.toString.call(arr[i]);
            if(hash[arr[i] + typ...]]></description><category></category></item><item><title><![CDATA[C# Winform 使用委托时委托事件一直为null的问题]]></title><link>https://blog.csdn.net/ythook/article/details/80749242</link><guid>https://blog.csdn.net/ythook/article/details/80749242</guid><author>ythook</author><pubDate>Wed, 20 Jun 2018 17:34:27 +0800</pubDate><description><![CDATA[
  问题由来：要实现的功能是点击Form_Settings的保存按钮或者关闭 Form_Settings的时候刷新Form_FlashStart的控件。


原来的代码

Form_FlashStart的代码如下：

public partial class Form_FlashStart : Form
{
    public Form_FlashStart()
    {
        I...]]></description><category></category></item></channel></rss>