Commit c68de122 by wangling

日志查询添加导出功能

parent 00979f78
......@@ -162,7 +162,7 @@
</where>
</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
t.CXR_SFZH as cxrSfzh,
t.CXR_XM as cxrXm,
......
......@@ -39,11 +39,11 @@
<if test="asjbh != null and asjbh != ''">
and t.ASJBH like CONCAT(CONCAT('%',#{asjbh}),'%')
</if>
<if test="startTime != null and startTime != ''">
and t.DJSJ <![CDATA[>=]]> to_date(#{startTime},'yyyy-MM-dd')
<if test="startT != null and startT != ''">
and t.DJSJ <![CDATA[>=]]> to_date(#{startT},'yyyy-MM-dd')
</if>
<if test="endTime != null and endTime != ''">
and t.DJSJ <![CDATA[<=]]> to_date(#{endTime},'yyyy-MM-dd')
<if test="endT != null and endT != ''">
and t.DJSJ <![CDATA[<=]]> to_date(#{endT},'yyyy-MM-dd')
</if>
</sql>
......
......@@ -150,7 +150,7 @@
};
$.messager.confirm('确认', "确定导出excel附件吗?", function (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(){
"cqrJh":$("#cxrJh").val().trim(),
"cqrLxdh":$("#cxrLxdh").val().trim(),
"dldwmc":$("#dldwmc").val().trim(),
"startTime":$("#startTime").datebox("getValue")==""?null:$("#startTime").datebox("getValue"),
"endTime":$("#endTime").datebox("getValue")==""?null:$("#endTime").datebox("getValue"),
"startT":$("#startTime").datebox("getValue"),
"endT":$("#endTime").datebox("getValue"),
"yhCate":"00",
"projectName":"刑专智慧侦查脑图"
};
$.messager.confirm('确认', "确定导出excel附件吗?", function (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