- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 equals && hashCode
JDK中equals与hashCode方法介绍如下: hashCode Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by HashMap. 返回对象的哈希码值。支持此方法是为了提高诸如java.ut
2017-12-25 23:35:27 128
原创 SQL
SQL-执行顺序(8)SELECT (9)DISTINCT (11)<Top Num> <select list> (1)FROM [left_table] (3)<join_type> JOIN <right_table> (2)ON <join_condition> (4)WHERE <where_condition> (5)GROUP BY <group_by_list> (6)WITH <
2017-12-12 19:50:07 179
原创 js常用方法总结
多级复选框联动效果图: vm:#foreach($categoryGrand in ${categoryList}) #if($!{categoryGrand.canChoose}==0) #set($visibility = "hidden") #else #set($visibility = "visible") #end <div class="top">
2017-12-11 20:21:43 201
原创 Spring整合Junit4
maven依赖<dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>3.2.2.RELEASE</version> </dependency> <dependency> <groupId>junit</groupId>
2017-12-08 19:07:26 237
原创 Mybatis分页插件PageHelper
maven依赖<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>4.0.3</version> </dependency>在Mybatis配置xml中配置拦截器插件<plugins> <!-- com.github.pag
2017-12-08 11:47:52 141
原创 Wdatepicker日期控件
My97DatePicker是很不错的一个日期选择插件,体积只有几十k但是功能非常强大,能满足很多苛刻的要求。 官网:http://www.my97.net/各目录及文件的用途:目录lang 存放语言文件 目录skin 存放皮肤的相关文件 calendar.js 日期库主文件 WdatePicker.js 配置文件,在调用的地方仅需使用该文件调用模式触发WdatePicker函数来调用弹出日
2017-12-07 11:40:48 413
原创 gson&&fastjson
Gson String personJsonInfo={&amp;quot;&amp;quot;:&amp;quot;&amp;quot;}; Gson gson = new Gson(); //Gson gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create();//排除掉bean中没有Expose注解的属性 Person person = gson.fr
2017-12-05 21:25:58 230
原创 Velocity快速入门教程-脚本语法详解
1.变量(1)变量的定义:#set($name = "hello") 说明:velocity中变量是弱类型的。当使用#set 指令时,括在双引号中的字面字符串将解析和重新解释,如下所示:#set($directoryRoot = "www" ) #set($templateName = "index.vm" ) #set($template = "$directoryRoot/$templ
2017-12-04 17:27:09 239
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人