摘要: private static void readExcel() { String filePath = "C:/Standardzid.xls"; File file = new File(filePath); List citys = new ArrayL... 阅读全文
posted @ 2014-07-23 16:49 RY一步一个脚印 阅读(301) 评论(0) 推荐(0)
摘要: 一. 常用查询:1. 查询一条数据:(多用于保存时判断db中是否已有当前数据,这里 is 精确匹配,模糊匹配 使用 regex...)public PageUrl getByUrl(String url) { return findOne(new Query(Criteria.wher... 阅读全文
posted @ 2014-07-23 16:26 RY一步一个脚印 阅读(25462) 评论(0) 推荐(0)