拼接語句myeclipse 提示錯誤,好奇怪
if(command?!=?null&&?!"".equals(command.trim())){ ????sql.append("?and?COMMAND?=?"); ????paramList.add(command); }
我的myeclipse 在sql.append....那里有紅線錯誤提示?The method append(String) is undefined for the type String ??
我的sql 是一個String
2016-03-28
stringbuffer 和stringbuilder里面的方法
2016-03-12
哦,我知道了,String類型木有這個方法 ,是StringBuilder才有