Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\page\statistics\js\sta_rdr_banzhengcount.js
var jsonFormatDesign={code:"S_RDRBANZHENGCOUNT",table:" LIB_SYS_OPLOG left join lib_cir_reader on lib_cir_reader.id = LIB_SYS_OPLOG.INFO1 ",width:"900",height:"600",top:80,left:180,tableArr:[{name:"lib_sys_oplog"},{name:"lib_cir_reader"}]};var fieldComBoxData=[{field:"count(lib_cir_reader.id)",name:"???"}];var initJson=[{code:"rdrtype",key:"rdrtype",condition:"libcode",value:vLibcode},{code:"lib_cir_reader.libcode",key:"libcode",condition:"code",value:vLibcode},{code:"to_char(lib_cir_reader.libcode)",name:"?????("+vLiblevel+"???)",key:"libcode",condition:"code",value:vLibcode},{code:"status",key:"rdrstatus"},{code:"gender",key:"gender"},{code:"lib_cir_reader.operaway",key:"operaway"},{code:"rdrfld1",key:"rdrfld1",condition:"parentid",value:"1"},{code:"rdrfld2",key:"rdrfld2",condition:"parentid",value:"2"},{code:"rdrfld3",key:"rdrfld3",condition:"parentid",value:"3"},{code:"rdrfld4",key:"rdrfld4",condition:"parentid",value:"4"},{code:"to_char(lib_sys_oplog.operid)",key:"operid",condition:"libcode",value:vLibcode},];var countFormatDesignFieldComBoxData=[{code:"rdrtype",name:"???????"},{code:"lib_cir_reader.libcode",name:"?????"},{code:"to_char(lib_cir_reader.libcode)",name:"?????("+vLiblevel+"???)",key:"libcode",condition:"code",value:vLibcode},{code:"status",name:"???????"},{code:"gender",name:"???????"},{code:"lib_cir_reader.operaway",name:"??????"},{code:"to_char(lib_sys_oplog.operid)",name:"?????",key:"operid",condition:"libcode",value:vLibcode},{code:"substr(to_char(logdate),0,4)",key:"yyyy",name:"??"},{code:"substr(to_char(logdate),0,6)",key:"yyyymm",name:"??"},{code:"to_char(logdate)",key:"logdate",name:"??"}];$(function(){var c=[{key:"rdrtype",condition:"libcode",value:vLibcode},{key:"libcode",condition:"code",value:vLibcode},{key:"rdrfld1",condition:"parentid",value:"1"},{key:"rdrfld2",condition:"parentid",value:"2"},{key:"rdrfld3",condition:"parentid",value:"3"},{key:"rdrfld4",condition:"parentid",value:"4"},{key:"rdrstatus"}];commonSetParaInit(null,"export_record",null,c);var b={key:"rdrfld0",condition:"parentid",value:"0"};initPageDataSingleElement("rdrfld0",b,showRdrFldName);var a={key:"rdrstatus"};initPageDataSingleElement("status",a,null);initFormatDesignFieldComBoxData();$("#export_beg_logstamp").datetimebox("setValue",getAddYMD(null,null,null,"-")+" 00:00:00");$("#export_end_logstamp").datetimebox("setValue",getAddYMD(null,null,null,"-")+" 23:59:59")});function initFormatDesignFieldComBoxData(){var b={key:"rdrfld0",condition:"parentid",value:"0"};var a=base_path+"par/common/getInitData.do";$.post(a,b,function(f){var e=f.rows;for(var d=0;d<e.length;d++){var c={code:"rdrfld"+e[d].code,name:e[d].name};countFormatDesignFieldComBoxData.push(c)}if(countFormatDesignFieldComBoxData.length>0){setFormatDesignFieldComBoxData()}},"json")}function showRdrFldName(){var b=$("#rdrfld0").combobox("getData");if(b.length>0){for(var a=0;a<b.length;a++){$(".show-rdrfld"+b[a].code).html(b[a].name)}}}function getJsonDataByTypeHandler(){var d={};var a=$('[item-type="export_record"]');var f=0;a.each(function(p,o){var e=o.id;var q=$(this).attr("class");var m=o.attributes["link-combobox"];var k=o.attributes["handler-type"];var r=o.attributes["table-type"];if(k){if(getValue(e).length>0){if(q.indexOf("easyui-numberbox")>=0&&getValue(e)==0){}else{if(m){d["limit["+f+"].condition"]=getValue(m.value)}else{if(r){d["limit["+f+"].condition"]=r.value+"."+getIdByCondition(e)}else{d["limit["+f+"].condition"]=e.replace("export_beg_","").replace("export_end_","").replace("export_","")}}d["limit["+f+"].typeHandler"]=k.value;d["limit["+f+"].value"]=valueReplace(getValue(e));f++}}}var r=o.attributes["param-verify"];if(r){if(getValue(e).length==0){d["limit["+f+"].condition"]=e;d["limit["+f+"].typeHandler"]=k.value;var s=$("#"+e).datagrid("getRows");var l="";for(var n=0;n<s.length;n++){l+=s[n].code+","}d["limit["+f+"].value"]=l;f++}}});var g=getValue("outPutType");try{if(jsonFormatDesign.tableArr){var b=jsonFormatDesign.tableArr;var j=mystorage.get("lowerlibcode");for(var c=0;c<b.length;c++){if(g=="0"||b[c].name!="lib_cir_reader"){d["limit["+f+"].condition"]=b[c].name+".libcode";d["limit["+f+"].typeHandler"]="3";d["limit["+f+"].value"]=j;f++}}}}catch(h){}d=getJsonAddOtherCondtion(d,f);return d}function getJsonAddOtherCondtion(a,c){var b=getValue("logtype");if(!b){a["limit["+c+"].condition"]="lib_sys_oplog.logtype";a["limit["+c+"].typeHandler"]="3";a["limit["+c+"].value"]="4010,4114";c++}var d=getValue("outPutType");if(d=="0"){a.table=" LIB_SYS_OPLOG join lib_cir_reader on lib_cir_reader.id = LIB_SYS_OPLOG.INFO1 "}return a};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de