var sql = "SQL(\"JDBC3\",\"Select cast(wtnr as varchar)+'\n' from aqwt_fkk where tbsj>getdate()-4 and zrbm='***'\",1)"; var wtnr = FR.remoteEvaluate(sql); wtnr = wtnr.replace(",","+");这里的replace会报错(对象不支持replace属性或方法) contentPane.setCellValue("B7",null,wtnr); |