06 2018 档案

摘要:@PostContruct是spring框架的注解,在方法上加该注解会在项目启动的时候执行该方法,也可以理解为在spring容器初始化的时候执行该方法。 阅读全文
posted @ 2018-06-29 13:53 十七年的夏天 阅读(2125) 评论(1) 推荐(1)
摘要:@RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:trade.application.xml" }) public class BaseTest { } 阅读全文
posted @ 2018-06-24 17:25 十七年的夏天 阅读(855) 评论(0) 推荐(0)
摘要:1 String nwVal=recordDO.getWorkOrderNwVal(); 2 HashMap nwMap=JSON.parseObject(nwVal,new TypeReference>() {}); 阅读全文
posted @ 2018-06-13 09:58 十七年的夏天 阅读(11144) 评论(0) 推荐(0)