MySQL的YEARWEEK函数以及查询本周数据MySQL 的 YEARWEEK 是获取年份和周数的一个函数,函数形式为 YEARWEEK(date[,mode])例如 2010-3-14 ,礼拜天SELECT YEARWEEK('2010-3-14') 返回 11SELECT YEARWEEK('...
分类:
数据库 时间:
2014-07-10 12:08:14
阅读次数:
299
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2014-06-28 09:55:50
阅读次数:
205
大家知道,以太网采用广播机制,所有与网络连接的工作站都可以看到网络上传递的数据。通过查看包含在帧中的目标地址,确定是否进行接收或放弃。如果证明数据确实是发给自己的,工作站将会接收数据并传递给高层协议进行处理。但是,如果让网卡置于混杂模式(Promiscuous mode),则网卡不会鉴别帧的MAC地...
分类:
其他好文 时间:
2014-06-27 20:31:37
阅读次数:
249
1 //开启线程加载 2 Action a = () => 3 { 4 var row = 7; 5 var column = 9; 6 7 var p...
分类:
其他好文 时间:
2014-06-27 19:39:49
阅读次数:
158
描述: A column was specified that does not exist. 出现这个问题的原因在于label features 展示的字段不存在或者为空,只要将其勾选去掉或者换个显示的字段即可。 解决步骤: 1.选中出现问题的图层,右键,选择Properties选项 ...
分类:
其他好文 时间:
2014-06-27 18:49:58
阅读次数:
298
1、错误描述
六月 26, 2014 10:53:26 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression data[text] is undefined on line 9, column 51 in inc/select.ftl."
Express...
分类:
其他好文 时间:
2014-06-27 09:58:53
阅读次数:
237
1、错误描述
freemarker 下拉框
Error parsing imported template inc/select.ftl
The problematic instruction:
----------
==> import "/inc/select.ftl" as items [on line 9, column 6 in...
分类:
其他好文 时间:
2014-06-26 14:17:38
阅读次数:
610
1、错误描述
freemarker 下拉框
Error parsing imported template inc/select.ftl
The problematic instruction:
----------
==> import "/inc/select.ftl" as items [on line 9, column 6 in...
分类:
其他好文 时间:
2014-06-26 14:11:15
阅读次数:
146
1、具体错误如下
六月 25, 2014 11:26:29 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression name is undefined on line 2, column 33 in inc/select.ftl."
Expression...
分类:
其他好文 时间:
2014-06-26 10:43:56
阅读次数:
268
resultMap:适合使用返回值是自定义实体类的情况
resultType:适合使用返回值得数据类型是非自定义的,即jdk的提供的类型
resultMap :
type:映射实体类的数据类型
id:resultMap的唯一标识
column:库表的字段名
property:实体类里的属性名
配置映射文件:
<!DOCTYPE mapper
PUBLIC "-//myb...
分类:
其他好文 时间:
2014-06-26 07:23:16
阅读次数:
307