Commit d75906ac by mayunfei

Merge remote-tracking branch 'origin/master_sc' into master_sc

parents 17c6ec8d ac372635
...@@ -64,6 +64,16 @@ ...@@ -64,6 +64,16 @@
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId> <artifactId>jstl</artifactId>
</dependency> </dependency>
<!-- servlet依赖. -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId> <artifactId>httpclient</artifactId>
......
spring.datasource.url=jdbc:oracle:thin:@127.0.0.1:1521:orcl spring.datasource.url=jdbc:oracle:thin:@47.92.129.99:1600:orcl
spring.datasource.username=XZXT spring.datasource.username=XZXT
spring.datasource.password=XZXT spring.datasource.password=XZXT
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
......
...@@ -1282,24 +1282,15 @@ ...@@ -1282,24 +1282,15 @@
</select> </select>
<select id="getAllTjfpxx" parameterType="java.util.Map" resultType="com.founder.model.TbYwZczlFp"> <select id="getAllTjfpxx" parameterType="java.util.Map" resultType="com.founder.model.TbYwZczlFp">
select fp.* from TB_YW_ZCZL_FP fp,TB_YW_ZCZL zl where fp.xxscpdbz='0' select fp.* from TB_YW_ZCZL_FP fp where fp.xxscpdbz='0' and fp.fprgajgdm like '510000%'
and zl.xxscpdbz='0' and fp.zczlbh=zl.zczlbh <if test="fbsj_s!=null">and fp.fpsj <![CDATA[>=]]> #{fbsj_s}</if>
<if test="fbsj_s!=null">and zl.fbsj <![CDATA[>=]]> #{fbsj_s}</if> <if test="fbsj_e!=null">and fp.fpsj <![CDATA[<=]]> #{fbsj_e}</if>
<if test="fbsj_e!=null">and zl.fbsj <![CDATA[<=]]> #{fbsj_e}</if>
<if test="sfbdw==1"> <if test="sfbdw==1">
<if test="dwdm!=null and dwdm!=''"> <if test="dwdm!=null and dwdm!=''">
and fp.QSRGAJGDM = #{dwdm} and fp.QSRGAJGDM = #{dwdm}
</if> </if>
</if> </if>
<if test="sfbdw==0"> <if test="sfbdw==0">
<!--<if test="userUnitcode!=null and userUnitcode!=''">
and fp.FPRGAJGDM = #{userUnitcode}
</if>
<if test="userUnitcode==null or userUnitcode==''">
<if test="dadCodes!=null and dadCodes!=''">
and fp.FPRGAJGDM in ${dadCodes}
</if>
</if>-->
<if test="inString!=null and inString!=''"> <if test="inString!=null and inString!=''">
and (fp.QSRGAJGDM in ${inString}) and (fp.QSRGAJGDM in ${inString})
</if> </if>
......
...@@ -121,3 +121,17 @@ function toZczlDetail(zczlbh,fpbh){ ...@@ -121,3 +121,17 @@ function toZczlDetail(zczlbh,fpbh){
function doBack(){ function doBack(){
$("#jszl_count").dialog("close"); $("#jszl_count").dialog("close");
}*/ }*/
function exportExcel(){
var params = serializeObject($("form[name='jszlCountForm']"));
var fbsj_s = params.fbsj_s;
var fbsj_e = params.fbsj_e;
var dwdm = params.dwdm;
var qszt = params.qszt;
var hbzt = params.hbzt;
var pjdj = params.pjdj;
if (confirm('确定导出excel附件吗?')) {
location.href = "/exportJszlCntExcel?fbsj_s="+fbsj_s+"&fbsj_e="+fbsj_e+"&dwdm="+dwdm+"&qszt="+qszt+"&hbzt="+hbzt+"&pjdj="+pjdj;
}
}
\ No newline at end of file
...@@ -41,8 +41,12 @@ function toZlzs(dwdm,fbsj_s,fbsj_e){ ...@@ -41,8 +41,12 @@ function toZlzs(dwdm,fbsj_s,fbsj_e){
} }
function toDwZlxx(dwdm,fbsj_s,fbsj_e){ function toDwZlxx(dwdm,fbsj_s,fbsj_e){
var url = '/toGetDwZlxx?dwdm='+dwdm+"&isZjdw=1&fbsj_s="+fbsj_s+"&fbsj_e="+fbsj_e; if(dwdm.substr(0, 6) == "510000"){
window.open(url); return;
}else{
var url = '/toGetDwZlxx?dwdm='+dwdm+"&isZjdw=1&fbsj_s="+fbsj_s+"&fbsj_e="+fbsj_e;
window.open(url);
}
} }
function doQuery(obj){ function doQuery(obj){
...@@ -66,8 +70,8 @@ function doQuery(obj){ ...@@ -66,8 +70,8 @@ function doQuery(obj){
checkOnSelect : false, checkOnSelect : false,
fit:false, fit:false,
pagination : true, pagination : true,
pageSize : 10, pageSize : 25,
pageList : [10,20], //rows pageList : [25,50], //rows
pageNumber : 1, pageNumber : 1,
loadFilter: function(data){ loadFilter: function(data){
$(".total").html(data.total); $(".total").html(data.total);
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<a class="btn_a btn_search" onclick="doQuery()">查询</a> <a class="btn_a btn_search" onclick="doQuery()">查询</a>
<a class="btn_a btn_empty" onclick="doClear()">清空</a> <a class="btn_a btn_empty" onclick="doClear()">清空</a>
<%--<a class="btn_a btn_empty" onclick="doBack()">关闭</a>--%> <%--<a class="btn_a btn_empty" onclick="doBack()">关闭</a>--%>
<a class="btn_a btn_add" onclick="exportExcel()" id="exportExcel">导出Excel</a>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
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