/**
* 将数组里的元素拼接成sql里的in条件,如'a1','a2','a3'
* @param array
* @returns
*/
function makeSqlInStr(array){
if(array!=null && array.length>0){
for(var i in array){
array[i] = "'"+array[i]+"'";
}
return array.join(",");
}else{
return "";
}
}