摘要:
String ids = "1,2,3"; String[] industryIdsArr = ids.split(","); String str = ""; if (industryIdsArr != null && industryIdsArr.length > 0) { for (int i = 0; i < industryIdsArr.lengt... 阅读全文
摘要:
public PageVo getByPage(int pageNum, int pageSize) { PageVo pageVo = new PageVo(); System.out.println("web " + pageNum); System.out.println("web " + pageSize); List... 阅读全文
摘要:
日期类型Date 比较大小晒使用 compareTodate1.compareTo(date2) 结果==1 date1 大 结果 1 date2大 结果==0 值相等public static void main(String[] args) { Date bigTime = getBigTime 阅读全文
摘要:
枚举类的使用 >展示到页面 0. 创建需要的枚举类 1.赋值 阅读全文
摘要:
在我们使用BeanUtils.copyProperties(dest,orig)将一个类的属性赋值给另一个类的时候 如果类中存在 Date类型的转换可能会报"no value specified for date"错误,那是因为Converter,是因为Converter [转换器]这个居然只支持一 阅读全文