摘要: 最近做html脚本导入库中,读取时总会有乱码的情况。找到一些方法乱码转为正确字符串输出。 参考原文: https://blog.csdn.net/ajaxhu/article/details/12446917 其它方法乱码转换,原文: http://daikainan.iteye.com/blog/ 阅读全文
posted @ 2018-11-30 17:29 Victory-xx 阅读(8941) 评论(0) 推荐(1) 编辑
摘要: select to_char(sysdate, 'yyyy-mm-dd hh24:mi:ss') from dual; --显示当前时间 2017 - 04 - 24 18 :42 :17 select trunc(sysdate, 'year') from dual; --截取到年(本年的第一天) 2017 / 1 / 1 select trunc(sysdate, 'q') from d... 阅读全文
posted @ 2017-04-24 18:48 Victory-xx 阅读(3313) 评论(0) 推荐(0) 编辑
摘要: 具体查看:http://www.cnblogs.com/younggun/p/3193800.html 阅读全文
posted @ 2017-04-11 10:40 Victory-xx 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1 @NotEmpty :不能为null,且Size>0 2 @NotNull:不能为null,但可以为empty,没有Size的约束 3 @NotBlank:只用于String,不能为null且trim()之后size>0 org.apache.commons.lang.StringUtils类提 阅读全文
posted @ 2017-03-29 09:37 Victory-xx 阅读(852) 评论(0) 推荐(0) 编辑
摘要: 位运算符主要针对二进制,它包括了:“与”、“非”、“或”、“异或”。 从表面上看似乎有点像逻辑运算符,但逻辑运算符是针对两个关系运算符来进行逻辑运算,而位运算符主要针对两个二进制数的位进行逻辑运算。 阅读全文
posted @ 2017-03-29 09:29 Victory-xx 阅读(235) 评论(0) 推荐(0) 编辑