Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zczlService
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曹崟
zczlService
Commits
d75906ac
Commit
d75906ac
authored
Dec 12, 2019
by
mayunfei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master_sc' into master_sc
parents
17c6ec8d
ac372635
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
17 deletions
+38
-17
pom.xml
+10
-0
src/main/java/com/founder/zczl/controller/ZczlController.java
+0
-0
src/main/resources/application-pro.properties
+1
-1
src/main/resources/mapper/ZczlMapper.xml
+3
-12
src/main/resources/static/js/listJszlCount.js
+15
-0
src/main/resources/static/js/listZczlTj.js
+8
-4
src/main/webapp/WEB-INF/jsp/jszlCount.jsp
+1
-0
No files found.
pom.xml
View file @
d75906ac
...
@@ -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>
...
...
src/main/java/com/founder/zczl/controller/ZczlController.java
View file @
d75906ac
This diff is collapsed.
Click to expand it.
src/main/resources/application-pro.properties
View file @
d75906ac
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
...
...
src/main/resources/mapper/ZczlMapper.xml
View file @
d75906ac
...
@@ -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>
...
...
src/main/resources/static/js/listJszlCount.js
View file @
d75906ac
...
@@ -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
src/main/resources/static/js/listZczlTj.js
View file @
d75906ac
...
@@ -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
,
2
0
],
//rows
pageList
:
[
25
,
5
0
],
//rows
pageNumber
:
1
,
pageNumber
:
1
,
loadFilter
:
function
(
data
){
loadFilter
:
function
(
data
){
$
(
".total"
).
html
(
data
.
total
);
$
(
".total"
).
html
(
data
.
total
);
...
...
src/main/webapp/WEB-INF/jsp/jszlCount.jsp
View file @
d75906ac
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment