摘要: 1、准备测试表和测试数据 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 阅读全文
posted @ 2018-05-07 17:33 demon09 阅读(155) 评论(2) 推荐(0) 编辑
摘要: oracle中case when then及decode用法 一.case … when … then 语法: – 写法一: case(条件) when 值1 then 返回值1 when 值2 then 返回值2 else 缺省值 – 写法二: case when 条件1 then 返回值1 when 条件2 then 返回值2 else 缺省值 end; 案例1: -... 阅读全文
posted @ 2018-05-07 16:59 demon09 阅读(7029) 评论(0) 推荐(0) 编辑
摘要: 1 function formreset(form){ 2 for(var i=0;i<frmMain.length;i++){ 3 if(frmMain.item(i).type=="text" && frmMain.item(i).value!=""){ 4 frmMain.item(i).value=""; 5 }e... 阅读全文
posted @ 2018-05-07 16:29 demon09 阅读(741) 评论(0) 推荐(0) 编辑
摘要: 1 jQuery.ajax({ 2 url: '../ajax', 3 type: 'post', 4 data: { 5 sid: $("#sid").val(), 6 cmd: 'EQUIPMENT_CUSTOM_ROWS_SAVE', 7 params: 0 8 }, 9 beforeSend: function(){ 10 11 }... 阅读全文
posted @ 2018-05-07 15:48 demon09 阅读(101) 评论(1) 推荐(0) 编辑