摘要: String[] 转List<String> String[] idArr = ids.split(","); List<String> idList = new ArrayList<String>(); Collections.addAll(idList, idArr); List<String> 阅读全文
posted @ 2016-01-15 17:43 网络终结者 阅读(979) 评论(0) 推荐(0) 编辑
摘要: 注解测试配制文件要放到测试的资源文件当中@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(locations = {"classpath*:spring/data-knet.xml","classpath*:spring/app... 阅读全文
posted @ 2016-01-15 09:49 网络终结者 阅读(175) 评论(0) 推荐(0) 编辑