摘要:
时间的比较: var rec = ajaxform.getRecord(); var sd = rec.get("startDate"); var ed = rec.get("endDate"); if(sd==null||sd=="null"||sd==""||ed==null||ed=="null"||ed==""){ return; }else{ if(ed<sd){ ... 阅读全文
摘要:
按钮的判断 var record = ajaxgrid.getAllRecords(); if(record.length>0){ var isPack=record[0].get("dispatchDate"); if(isPack==null){ onsave_id.display("block"); dispatch_id.displ... 阅读全文
摘要:
语法及其应用: 查询部门创建时间最早的三条记录 select * from ( select * from dept t order by t.cdate ) where rowmun=2 and r1; 统计平均奖金大于2000 的各个职位的最高工资 select job,max(comm) from emp1 e group by e.job having avg(... 阅读全文