上一页 1 ··· 8 9 10 11 12
摘要: Java 传递参数时,传递一个变量快还是传递一个实体类? 分享| 2011-10-23 00:19beleebilly11 | 浏览 645 次 List<xx> list= ss.get(1);//直接传一个数实例化一个实体类Test t= new Test();t.setId(1);List < 阅读全文
posted @ 2016-07-19 09:29 蔡昊 阅读(1660) 评论(0) 推荐(0) 编辑
摘要: select bankcardid, bankname, case when isdefault=0 then '否' when isdefault=1 then '是' end as isdefault from u_bankcard where memberid=1001 阅读全文
posted @ 2016-07-18 17:35 蔡昊 阅读(2671) 评论(0) 推荐(0) 编辑
摘要: 映射文件 <insert id="insertUserBaiscInfo" parameterType="hashmap"> <selectKey resultType="String" order="AFTER" keyProperty="id"> SELECT LAST_INSERT_ID() 阅读全文
posted @ 2016-07-18 16:01 蔡昊 阅读(153) 评论(0) 推荐(0) 编辑
摘要: void dosth(){for(int i=0;i<5000;i++){new addman().start();new getman().start();}} private static int b = 0; String lock = "a"; void add(){ synchronize 阅读全文
posted @ 2016-07-17 21:55 蔡昊 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12