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