var cc=_g().getCellValue(0, 2, 2);var =value;FR.remoteEvaluateAsync('"qxn-oa", "select dianji from dbo.qxn_ksxt_chengji where kh='+"'" + cc+"'"+'", 1, 1)', function callback(value) { if (value == 0) { alert("欢迎考试1234!"); _g().setCellValue(0, 7, 2,value); } else { alert("已考试!"); _g().setCellValue(0, 7, 2,value); }; });