11 2020 档案

摘要:一、getdate() 作用: 得到服务器当前的时间二、datepart(interval,date) 参数: interval:时间的某一个部分(如时、分、秒、天、周、月、季、年) date:当前日期或指定日期 作用: 取指定时间的某一个部分,年月天时分秒 示例: select datepart( 阅读全文
posted @ 2020-11-30 18:01 路要一步一步走 阅读(289) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_38348760/article/details/72526627 阅读全文
posted @ 2020-11-30 10:30 路要一步一步走 阅读(41) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/mqdxiaoxiao/article/details/100693171 阅读全文
posted @ 2020-11-30 10:06 路要一步一步走 阅读(593) 评论(0) 推荐(0) 编辑
摘要:int到Integer: int a=3; Integer A=new Integer(a); 或: Integer A=Integer.valueOf(a); Integer到int: Integer A=new Integer(5); int a=A.intValue(); 至于Integer. 阅读全文
posted @ 2020-11-30 09:28 路要一步一步走 阅读(2173) 评论(0) 推荐(1) 编辑
摘要:转载:https://www.cnblogs.com/lisongyu/p/10142897.html 阅读全文
posted @ 2020-11-30 09:16 路要一步一步走 阅读(56) 评论(0) 推荐(0) 编辑
摘要:注意:<script></script>@Delete("<script> delete from product where id in <foreach collection='array' item='id' open='(' separator=',' close=')'>#{id}</fo 阅读全文
posted @ 2020-11-29 19:19 路要一步一步走 阅读(2901) 评论(0) 推荐(0) 编辑
摘要:今天在使用枚举时想着少写getter方法和构造方法,结果加上注解后说是只支持class类型 阅读全文
posted @ 2020-11-28 22:00 路要一步一步走 阅读(698) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_37444478/article/details/77197870 阅读全文
posted @ 2020-11-27 10:30 路要一步一步走 阅读(332) 评论(0) 推荐(0) 编辑
摘要:热更新的时候不需要关闭服务器,直接重新部署项目就行。冷的自然就是关闭服务器后再操作 阅读全文
posted @ 2020-11-26 12:14 路要一步一步走 阅读(3582) 评论(0) 推荐(0) 编辑
摘要:10.springboot属性注入 10.1通过以前spring中配置 java配置主要靠java类和一些注解来达到和xml配置一样的效果,比较常用的注解有: @Configuration:声明一个类作为配置类,代替xml文件@Bean:声明在方法上,将方法的返回值加入Bean容器,代替<bean> 阅读全文
posted @ 2020-11-26 10:19 路要一步一步走 阅读(2155) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/oyw5201314ck/article/details/79621347 阅读全文
posted @ 2020-11-25 14:09 路要一步一步走 阅读(41) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/SSLJY_YCFH/article/details/105085992 阅读全文
posted @ 2020-11-25 13:47 路要一步一步走 阅读(425) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/kswkly/article/details/106238405 阅读全文
posted @ 2020-11-25 11:51 路要一步一步走 阅读(242) 评论(0) 推荐(0) 编辑
摘要:转载:”https://blog.csdn.net/qq_33811662/article/details/79069717 阅读全文
posted @ 2020-11-25 11:49 路要一步一步走 阅读(370) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/zwtgyh/p/10631760.html 阅读全文
posted @ 2020-11-25 11:47 路要一步一步走 阅读(49) 评论(0) 推荐(0) 编辑
摘要:GROUP BY我们可以先从字面上来理解,GROUP表示分组,BY后面写字段名,就表示根据哪个字段进行分组,如果有用Excel比较多的话,GROUP BY比较类似Excel里面的透视表。GROUP BY必须得配合聚合函数来用,分组之后你可以计数(COUNT),求和(SUM),求平均数(AVG)等。 阅读全文
posted @ 2020-11-24 13:54 路要一步一步走 阅读(644) 评论(0) 推荐(0) 编辑
摘要:与部分欧美国家小数点使用习惯有关,比如法国,葡萄牙等国家,习惯性使用,作为小数点。 解决办法是设定.为小数点 DecimalFormat df = new DecimalFormat("#.00"); DecimalFormatSymbols symbols = new DecimalFormatS 阅读全文
posted @ 2020-11-23 13:44 路要一步一步走 阅读(985) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/f498906080/article/details/83620881 阅读全文
posted @ 2020-11-20 15:00 路要一步一步走 阅读(582) 评论(0) 推荐(0) 编辑
摘要:转载:https://zhuanlan.zhihu.com/p/80388562 阅读全文
posted @ 2020-11-20 14:31 路要一步一步走 阅读(1199) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/zhou373986278/article/details/82763839 阅读全文
posted @ 2020-11-20 14:27 路要一步一步走 阅读(550) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_43530269/article/details/103011154 阅读全文
posted @ 2020-11-20 10:39 路要一步一步走 阅读(2221) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/ljx2012/p/3632288.html 阅读全文
posted @ 2020-11-20 09:49 路要一步一步走 阅读(90) 评论(0) 推荐(0) 编辑
摘要:@SuppressWarnings,表示警告抑制,告诉编译器不用提示相关的警告信息。 "rawtypes",这个参数是告诉编译器不用提示使用基本类型参数时相关的警告信息。一般是在通过传参调用某个方法的时候进行标识。 SuppressWarnings中类似的参数还有很多,比如: all: to sup 阅读全文
posted @ 2020-11-19 17:38 路要一步一步走 阅读(2414) 评论(0) 推荐(1) 编辑
摘要:转载:https://www.jianshu.com/p/46c3635f2268 阅读全文
posted @ 2020-11-19 14:04 路要一步一步走 阅读(1524) 评论(0) 推荐(0) 编辑
摘要:转载:https://zhidao.baidu.com/question/90322754.html https://blog.csdn.net/shimly2010/article/details/6616378 阅读全文
posted @ 2020-11-19 12:29 路要一步一步走 阅读(314) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/qq376324789/p/13627387.html 阅读全文
posted @ 2020-11-19 10:48 路要一步一步走 阅读(708) 评论(0) 推荐(0) 编辑
摘要:转载:https://i.cnblogs.com/posts/edit 阅读全文
posted @ 2020-11-19 08:55 路要一步一步走 阅读(91) 评论(0) 推荐(0) 编辑
摘要:Mybatis在进行<if test="status!= null and status!= ''">判空操作时,如果status为0的时候,该判断条件的值为false,也就是说Mybatis此时把0作为null来进行判断的 此时就会出现问题,在查询状态是0的数据时,查询的是全部数据 解决办法: 将 阅读全文
posted @ 2020-11-19 08:54 路要一步一步走 阅读(1070) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/maoziyang1996/article/details/91558921 阅读全文
posted @ 2020-11-19 08:53 路要一步一步走 阅读(260) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/hz90s/article/details/80819619 阅读全文
posted @ 2020-11-19 08:51 路要一步一步走 阅读(78) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_31071543/article/details/87088515 阅读全文
posted @ 2020-11-18 21:20 路要一步一步走 阅读(1327) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/eeeeasy/article/details/81201819 http://www.gaodaima.com/188660.html 阅读全文
posted @ 2020-11-18 20:54 路要一步一步走 阅读(93) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/rosefun96/article/details/79248846 阅读全文
posted @ 2020-11-18 18:21 路要一步一步走 阅读(429) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/weixin_42290280/article/details/83107681 阅读全文
posted @ 2020-11-18 17:24 路要一步一步走 阅读(500) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jb51.net/article/97262.htm 阅读全文
posted @ 2020-11-18 13:53 路要一步一步走 阅读(309) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/u012441924/article/details/63250496/ 阅读全文
posted @ 2020-11-17 16:46 路要一步一步走 阅读(239) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_17418411/article/details/107232594 阅读全文
posted @ 2020-11-17 15:58 路要一步一步走 阅读(576) 评论(0) 推荐(0) 编辑
摘要:如果直接写 select * from user where id <> 217;mybatis就会报语法错误,<>特殊字符需要转义 如下 select * from user where id &lt;&gt; 217; 使用Mybatis的时候,特殊字符需进行转义,如&lt;&gt; <>&am 阅读全文
posted @ 2020-11-17 11:37 路要一步一步走 阅读(8219) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/wt_better/article/details/80992014 阅读全文
posted @ 2020-11-17 11:24 路要一步一步走 阅读(68) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/caoyc/p/5574966.html 阅读全文
posted @ 2020-11-17 11:21 路要一步一步走 阅读(146) 评论(0) 推荐(0) 编辑
摘要:<if test="pd.flag==1 or ((pd.flag==2 or pd.flag==3) and (pd.sfyj==2 or pd.sfyj==3)) or pd.flag==3"> union all </if> <if test="pd.ssny != null and pd.s 阅读全文
posted @ 2020-11-17 11:16 路要一步一步走 阅读(2367) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/baby123/p/11643473.html 阅读全文
posted @ 2020-11-16 20:52 路要一步一步走 阅读(119) 评论(0) 推荐(0) 编辑
摘要:一 使用OBJECT_ID方式 IF OBJECT_ID('dbo.TableName') IS NOT NULLBEGINDROP TABLE dbo.TableNamePRINT '<<< DROPPED TABLE dbo.TableName>>>'END 二 查询sysobjects表 IF 阅读全文
posted @ 2020-11-16 19:00 路要一步一步走 阅读(198) 评论(0) 推荐(0) 编辑
摘要:SELECT STR_REPLACE(CONVERT(VARCHAR, GETDATE(), 111) ,'/','-'); 阅读全文
posted @ 2020-11-15 16:51 路要一步一步走 阅读(687) 评论(0) 推荐(0) 编辑
摘要:在数组的数量小于47的情况下使用插入排序,在大于或等于47或少于286会进入快速排序(双轴快排)大于286采用归并排序 在判断少于286之前还有一个操作 这里主要作用是看他数组具不具备结构:实际逻辑是分组排序,每降序为一个组,像1,9,8,7,6,8。9到6是降序,为一个组,然后把降序的一组排成升序 阅读全文
posted @ 2020-11-13 14:34 路要一步一步走 阅读(253) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/u013126379/article/details/52121096?utm_medium=distribute.pc_feed_404.none-task-blog-BlogCommendFromMachineLearnPai2-1.noneca 阅读全文
posted @ 2020-11-12 14:10 路要一步一步走 阅读(81) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jianshu.com/p/699ed86028c2 阅读全文
posted @ 2020-11-12 12:53 路要一步一步走 阅读(54) 评论(0) 推荐(0) 编辑
摘要:所以要配置logback-spring.xml,spring boot会默认加载此文件,为什么不配置logback.xml,因为logback.xml会先application.properties加载,而logback-spring.xml会后于application.properties加载,这 阅读全文
posted @ 2020-11-12 12:39 路要一步一步走 阅读(1338) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/xiaoyu411502/article/details/48295973 阅读全文
posted @ 2020-11-12 12:33 路要一步一步走 阅读(53) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_21259459/article/details/106517029 https://www.jianshu.com/p/3dee6b898eda 阅读全文
posted @ 2020-11-12 11:21 路要一步一步走 阅读(48) 评论(0) 推荐(0) 编辑
摘要:转载:http://172.20.2.26:88/#/fsdoc_%E6%8A%80%E6%9C%AF%E6%96%87%E6%A1%A3/fsbook_SpringBoot%E4%BD%BF%E7%94%A8?_k=2fnybs 阅读全文
posted @ 2020-11-12 11:12 路要一步一步走 阅读(41) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/ghsau/article/details/9347357 阅读全文
posted @ 2020-11-12 08:38 路要一步一步走 阅读(42) 评论(0) 推荐(0) 编辑
摘要:转载:https://zhuanlan.zhihu.com/p/98867735 阅读全文
posted @ 2020-11-10 17:06 路要一步一步走 阅读(168) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/Websphere_zxf/article/details/103200011 阅读全文
posted @ 2020-11-10 09:15 路要一步一步走 阅读(326) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/longzhongxiaoniao/article/details/89220933 阅读全文
posted @ 2020-11-10 09:09 路要一步一步走 阅读(692) 评论(0) 推荐(0) 编辑
摘要:ThreadPoolExecutor线程池参数设置技巧 一、ThreadPoolExecutor的重要参数 corePoolSize:核心线程数 核心线程会一直存活,及时没有任务需要执行 当线程数小于核心线程数时,即使有线程空闲,线程池也会优先创建新线程处理 设置allowCoreThreadTim 阅读全文
posted @ 2020-11-10 09:05 路要一步一步走 阅读(403) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/u010002184/article/details/90452918 阅读全文
posted @ 2020-11-09 18:06 路要一步一步走 阅读(400) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/w_t_y_y/article/details/102817576 阅读全文
posted @ 2020-11-09 17:44 路要一步一步走 阅读(1030) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.runoob.com/docker/docker-compose.html 阅读全文
posted @ 2020-11-09 14:12 路要一步一步走 阅读(52) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.runoob.com/docker/docker-dockerfile.html 阅读全文
posted @ 2020-11-09 13:50 路要一步一步走 阅读(62) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/singit/article/details/47721323 有不少人误将Math.Round函数当作四舍五入函数在处理, 结果往往不正确, 实际上Math.Round采用的是国际通行的是 Banker 舍入法. Banker's rounding(银行 阅读全文
posted @ 2020-11-07 17:31 路要一步一步走 阅读(1163) 评论(0) 推荐(0) 编辑
摘要:转载:http://www.xitongzhijia.net/xtjc/20180205/119725.html 阅读全文
posted @ 2020-11-06 19:59 路要一步一步走 阅读(79) 评论(0) 推荐(0) 编辑
摘要:java8中的Stream相信大家都使用过,代码可以变得简洁漂亮,甚至习惯后,简直爱不释手,根本不想再使用以前的通俗写法。但是初学者很容易犯一些错误。 本文介绍一下Stream中可能会使用的一个错误用法:Stream.max(Integer::max)和Stream.min(Integer::min 阅读全文
posted @ 2020-11-06 13:54 路要一步一步走 阅读(1435) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/a805814077/article/details/100545928 阅读全文
posted @ 2020-11-05 16:58 路要一步一步走 阅读(60) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jianshu.com/p/2a2d5fe49be4 阅读全文
posted @ 2020-11-05 11:55 路要一步一步走 阅读(52) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/zero1036/article/details/70153823 https://blog.csdn.net/asdasd3418/article/details/83791630 https://www.pianshen.com/article/ 阅读全文
posted @ 2020-11-05 09:29 路要一步一步走 阅读(57) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/wqbin/p/12124621.html 阅读全文
posted @ 2020-11-04 12:02 路要一步一步走 阅读(657) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/xsp_happyboy/article/details/80987484 阅读全文
posted @ 2020-11-03 15:44 路要一步一步走 阅读(35) 评论(0) 推荐(0) 编辑
摘要:2018/01/31,Spring Boot团队发布了Spring Boot 1.5.10。 Maven: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</art 阅读全文
posted @ 2020-11-03 14:28 路要一步一步走 阅读(126) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示