Commit c68de122 by wangling

日志查询添加导出功能

parent 00979f78
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
</where> </where>
</select> </select>
<select id="getQueryLogExcel" parameterType="com.founder.interservice.recordLog.queryModel.QuerylogFilter" resultType="com.founder.interservice.recordLog.queryModel.QuerylogFilter"> <select id="getQueryLogExcel" parameterType="com.founder.interservice.recordLog.queryModel.QuerylogFilter" resultType="com.founder.interservice.recordLog.model.Querylog">
select select
t.CXR_SFZH as cxrSfzh, t.CXR_SFZH as cxrSfzh,
t.CXR_XM as cxrXm, t.CXR_XM as cxrXm,
......
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
<if test="asjbh != null and asjbh != ''"> <if test="asjbh != null and asjbh != ''">
and t.ASJBH like CONCAT(CONCAT('%',#{asjbh}),'%') and t.ASJBH like CONCAT(CONCAT('%',#{asjbh}),'%')
</if> </if>
<if test="startTime != null and startTime != ''"> <if test="startT != null and startT != ''">
and t.DJSJ <![CDATA[>=]]> to_date(#{startTime},'yyyy-MM-dd') and t.DJSJ <![CDATA[>=]]> to_date(#{startT},'yyyy-MM-dd')
</if> </if>
<if test="endTime != null and endTime != ''"> <if test="endT != null and endT != ''">
and t.DJSJ <![CDATA[<=]]> to_date(#{endTime},'yyyy-MM-dd') and t.DJSJ <![CDATA[<=]]> to_date(#{endT},'yyyy-MM-dd')
</if> </if>
</sql> </sql>
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
}; };
$.messager.confirm('确认', "确定导出excel附件吗?", function (r) { $.messager.confirm('确认', "确定导出excel附件吗?", function (r) {
if (r) { if (r) {
window.open ("/exportDlrzExcel?projectName="+param.projectName+"&yhCate="+param.yhCate+"&asjbh="+param.asjbhs+"&cxrXm="+param.cxrXm+"&cxrSfzh="+param.cxrSfzh+"&cxrJh="+param.cxrJh+"&cxrLxdh="+param.cxrLxdh+"&dldwmc="+param.dldwmc+"&cxrKssj="+param.cxrKssj+"&cxrJssj="+param.cxrJssj); window.open ("/exportDlrzExcel?projectName="+param.projectName+"&yhCate="+param.yhCate+"&asjbh="+param.asjbh+"&cxrXm="+param.cxrXm+"&cxrSfzh="+param.cxrSfzh+"&cxrJh="+param.cxrJh+"&cxrLxdh="+param.cxrLxdh+"&dldwmc="+param.dldwmc+"&cxrKssj="+param.cxrKssj+"&cxrJssj="+param.cxrJssj);
} }
}); });
} }
......
...@@ -165,14 +165,14 @@ function exportExcel(){ ...@@ -165,14 +165,14 @@ function exportExcel(){
"cqrJh":$("#cxrJh").val().trim(), "cqrJh":$("#cxrJh").val().trim(),
"cqrLxdh":$("#cxrLxdh").val().trim(), "cqrLxdh":$("#cxrLxdh").val().trim(),
"dldwmc":$("#dldwmc").val().trim(), "dldwmc":$("#dldwmc").val().trim(),
"startTime":$("#startTime").datebox("getValue")==""?null:$("#startTime").datebox("getValue"), "startT":$("#startTime").datebox("getValue"),
"endTime":$("#endTime").datebox("getValue")==""?null:$("#endTime").datebox("getValue"), "endT":$("#endTime").datebox("getValue"),
"yhCate":"00", "yhCate":"00",
"projectName":"刑专智慧侦查脑图" "projectName":"刑专智慧侦查脑图"
}; };
$.messager.confirm('确认', "确定导出excel附件吗?", function (r) { $.messager.confirm('确认', "确定导出excel附件吗?", function (r) {
if (r) { if (r) {
window.open ("/exportSprzExcel?projectName="+param.projectName+"&yhCate="+param.yhCate+"&asjbh="+param.asjbh+"&spbsh="+param.spbsh+"&bshlxdm="+param.bshlxdm+"&cqrXm="+param.cqrXm+"&cqrSfzh="+param.cqrSfzh+"&cqrJh="+param.cqrJh+"&cqrLxdh="+param.cqrLxdh+"&dldwmc="+param.dldwmc+"&startTime="+param.startTime+"&endTime="+param.endTime); window.open ("/exportSprzExcel?projectName="+param.projectName+"&yhCate="+param.yhCate+"&asjbh="+param.asjbh+"&spbsh="+param.spbsh+"&bshlxdm="+param.bshlxdm+"&cqrXm="+param.cqrXm+"&cqrSfzh="+param.cqrSfzh+"&cqrJh="+param.cqrJh+"&cqrLxdh="+param.cqrLxdh+"&dldwmc="+param.dldwmc+"&startT="+param.startT+"&endT="+param.endT);
} }
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment