Mysql时间操作(当天,昨天,7天,30天,半年,全年,季度)
摘要:1 、 查看当天日期 select current_date(); 2、 查看当天时间 select current_time(); 3、查看当天时间日期 select current_timestamp(); 4、查询当天记录 select * from 表名 where to_days(时间字段
阅读全文
posted @
2018-06-14 14:35
谁有岁月如江河
微信支付url未注册问题解决方案
摘要:原文地址:https://blog.csdn.net/weixin_29351003/article/details/75000530,仅供学习使用,如有冒犯,敬请告知。 最近开发单页应用,然后集成在微信端。因为项目需要接通微信支付,而在开发过程中也遇上了一些问题。所以便写下这篇文章,希望给同样遇上
阅读全文
posted @
2018-04-21 22:15
谁有岁月如江河
StringUtils isEmpty isBlank用法
摘要:[转载自https://blog.csdn.net/ocean20/article/details/6674077] StringUtils 方法的操作对象是 java.lang.String 类型的对象,是 JDK 提供的 String 类型操作方法的补充,并且是 null 安全的(即如果输入参数
阅读全文
posted @
2018-04-16 10:08
谁有岁月如江河
String、String.valueOf、toString 它们三者的区别总结
摘要:[摘自CSDNpyj ,仅供自留学习使用,如有冒犯还请告知] 1 2 3 4 5 Boolean boolean1 = true; String str3 = (String)boolean1;//这行代码会报错,编译不过 String str4 = boolean1.toString();//正常
阅读全文
posted @
2018-04-16 09:58
谁有岁月如江河