sql=" UPDATE TB_CWLSHSPZ_YY " +" SET DFJE"+date.substring(4,6)+"=0,JFJE"+date.substring(4,6)+"=0,DFSL"+date.substring(4,6)+"=0,JFSL"+date.substring(4,6)+"=0,JSLJ"+date.substring(4,6)+"=0,JFLJ"+date.substring(4,6)+"=0,DSLJ"+date.substring(4,6)+"=0,DFLJ"+date.substring(4,6)+"=0" +" WHERE YY='"+date.substring(0,4)+"'" ; alert(sql); setTimeout(FR.remoteEvaluate('=SQL("lsh","' + sql + '",1,1)'),2000); 没有执行UPDATE,由于字段需要拼字符串,不能用存储过程,怎么解决 |