摘要:
Java 传递参数时,传递一个变量快还是传递一个实体类? 分享| 2011-10-23 00:19beleebilly11 | 浏览 645 次 List<xx> list= ss.get(1);//直接传一个数实例化一个实体类Test t= new Test();t.setId(1);List < 阅读全文
摘要:
select bankcardid, bankname, case when isdefault=0 then '否' when isdefault=1 then '是' end as isdefault from u_bankcard where memberid=1001 阅读全文
摘要:
映射文件 <insert id="insertUserBaiscInfo" parameterType="hashmap"> <selectKey resultType="String" order="AFTER" keyProperty="id"> SELECT LAST_INSERT_ID() 阅读全文
摘要:
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 阅读全文