Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnxtbaboot
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
杨亮
hnxtbaboot
Commits
25a551aa
Commit
25a551aa
authored
Nov 02, 2021
by
wuchengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计,设备柱状图修改
parent
0903bab9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
171 additions
and
56 deletions
+171
-56
src/main/java/com/founder/cjqx/controller/SysClientVpController.java
+7
-0
src/main/java/com/founder/controller/SystemController.java
+1
-1
src/main/java/com/founder/controller/ZlccController.java
+2
-2
src/main/java/com/founder/khtj/controller/KhtjController.java
+12
-10
src/main/resources/mapper/AfisQualityCcrwSqlMapper.xml
+54
-27
src/main/resources/mapper/KhtjDao.xml
+3
-2
src/main/resources/mapper/SysClientVpMapper.xml
+8
-3
src/main/resources/templates/cjqx/sbjkglform.html
+30
-3
src/main/resources/templates/khtj/ryxxtj.html
+0
-0
src/main/resources/templates/khtj/ryxxtjhk.html
+0
-0
src/main/resources/templates/whgl/sjwzxjc.html
+2
-2
src/main/resources/templates/zlcc/iframe2.html
+27
-3
src/main/resources/templates/zlcc/iframe3.html
+25
-3
No files found.
src/main/java/com/founder/cjqx/controller/SysClientVpController.java
View file @
25a551aa
...
...
@@ -51,6 +51,13 @@ public class SysClientVpController {
if
(
sysClientVp
.
getCjsblxcode
()!=
null
&&
sysClientVp
.
getCjsblxcode
().
equals
(
"1"
)){
sysClientVp
.
setSsdwcode
(
user
.
getUnitcode
());
}
try
{
String
ip
=
SysUitl
.
getIp
(
request
);
sysClientVp
.
setBaseIp
(
xzxtencode
(
ip
));
// sysClientVp.setZrmjjh(user.getPolicemanid());
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
//我的设备管理 默认查询本人采集
if
(
sysClientVp
.
getCjsblxcode
()!=
null
&&
sysClientVp
.
getCjsblxcode
().
equals
(
"2"
)){
sysClientVp
.
setZrmjjh
(
user
.
getPolicemanid
());
...
...
src/main/java/com/founder/controller/SystemController.java
View file @
25a551aa
...
...
@@ -490,7 +490,7 @@ public class SystemController {
protected
void
response2Client
(
HttpServletResponse
response
,
String
content
)
{
response
.
setContentType
(
"text/html;charset=UTF-8"
);
PrintWriter
out
=
null
;
log
.
info
(
"response content -->"
+
content
);
//
log.info("response content -->" + content);
try
{
out
=
response
.
getWriter
();
out
.
print
(
content
);
...
...
src/main/java/com/founder/controller/ZlccController.java
View file @
25a551aa
...
...
@@ -283,7 +283,7 @@ public class ZlccController {
dataAssess
.
setSsdw
(
ssdw
.
substring
(
0
,
6
));
}
dataAssess
.
setRwkssjStr
(
kssjStr
);
dataAssess
.
set
J
ssjStr
(
jssjStr
);
dataAssess
.
set
Rwj
ssjStr
(
jssjStr
);
dataAssess
.
setRwbhList
(
idsList
);
EasyUIPage
easyUIPage
=
new
EasyUIPage
();
int
count
=
afisQualityCcrwService
.
querySjkhPageCount
(
dataAssess
);
...
...
@@ -458,7 +458,7 @@ public class ZlccController {
scoreAssess
.
setSsdw
(
ssdw
.
substring
(
0
,
6
));
}
scoreAssess
.
setRwkssjStr
(
kssjStr
);
scoreAssess
.
set
J
ssjStr
(
jssjStr
);
scoreAssess
.
set
Rwj
ssjStr
(
jssjStr
);
scoreAssess
.
setRwbhList
(
idsList
);
EasyUIPage
easyUIPage
=
new
EasyUIPage
();
int
count
=
afisQualityCcrwService
.
queryPfkhPageCount
(
scoreAssess
);
...
...
src/main/java/com/founder/khtj/controller/KhtjController.java
View file @
25a551aa
...
...
@@ -83,20 +83,21 @@ public class KhtjController {
}
rstBeanlist
=
rycjtjService
.
getRsts
(
rstBean
,
rccdw
,
ifhk
);
int
zycs
=
0
;
int
ycs
=
0
;
int
zwcjs
=
0
;
int
rxcjs
=
0
;
int
swcjs
=
0
;
int
zjcjs
=
0
;
int
rxcjs
=
0
;
int
swcjs
=
0
;
int
zjcjs
=
0
;
int
sfcfs
=
0
;
int
hmcjs
=
0
;
int
sjcjs
=
0
;
int
dnacjs
=
0
;
for
(
RstBean
aj:
rstBeanlist
){
aj
.
setMaxccsjStr
(
rstBean
.
getMaxccsjStr
());
aj
.
setMinccsjStr
(
rstBean
.
getMinccsjStr
());
zycs
=
zycs
+
Integer
.
parseInt
(
aj
.
getZycs
());
ycs
=
ycs
+
Integer
.
parseInt
(
aj
.
getYcs
());
zwcjs
=
zwcjs
+
Integer
.
parseInt
(
aj
.
getZwcjs
());
rxcjs
=
rxcjs
+
Integer
.
parseInt
(
aj
.
getRxcjs
());
swcjs
=
swcjs
+
Integer
.
parseInt
(
aj
.
getSwcjs
());
zjcjs
=
zjcjs
+
Integer
.
parseInt
(
aj
.
getZjcjs
());
hmcjs
=
hmcjs
+
Integer
.
parseInt
(
aj
.
getHmcjs
());
sjcjs
=
sjcjs
+
Integer
.
parseInt
(
aj
.
getSjcjs
());
dnacjs
=
dnacjs
+
Integer
.
parseInt
(
aj
.
getDnacjs
());
zycs
+=
Integer
.
parseInt
(
aj
.
getZycs
());
ycs
+=
Integer
.
parseInt
(
aj
.
getYcs
());
zwcjs
+=
Integer
.
parseInt
(
aj
.
getZwcjs
());
rxcjs
+=
Integer
.
parseInt
(
aj
.
getRxcjs
());
swcjs
+=
Integer
.
parseInt
(
aj
.
getSwcjs
());
zjcjs
+=
Integer
.
parseInt
(
aj
.
getZjcjs
());
hmcjs
+=
Integer
.
parseInt
(
aj
.
getHmcjs
());
sjcjs
+=
Integer
.
parseInt
(
aj
.
getSjcjs
());
dnacjs
+=
Integer
.
parseInt
(
aj
.
getDnacjs
());
sfcfs
+=
Integer
.
parseInt
(
aj
.
getSfcfs
());
}
rstBean
.
setZwcjl
(
jscjl
(
zycs
+
""
,
zwcjs
+
""
));
rstBean
.
setRxcjl
(
jscjl
(
zycs
+
""
,
rxcjs
+
""
));
...
...
@@ -114,6 +115,7 @@ public class KhtjController {
rstBean
.
setHmcjs
(
hmcjs
+
""
);
rstBean
.
setDnacjs
(
dnacjs
+
""
);
rstBean
.
setSjcjs
(
sjcjs
+
""
);
rstBean
.
setSfcfs
(
sfcfs
+
""
);
rstBean
.
setName
(
"合计"
);
rstBean
.
setCode
(
rstBean
.
getRCcdw
());
rstBeanlist
.
add
(
rstBean
);
...
...
src/main/resources/mapper/AfisQualityCcrwSqlMapper.xml
View file @
25a551aa
This diff is collapsed.
Click to expand it.
src/main/resources/mapper/KhtjDao.xml
View file @
25a551aa
...
...
@@ -170,11 +170,12 @@
<if
test=
"sqlwhere != null and sqlwhere != ''"
>
and ${sqlwhere}
</if>
)t8,
(select nvl(sum(ry.cfs),0) as sfcfs from (
select (case when
hm >
1 then 1 else 0 end ) cfs from (
select count(*) as
hm
, ZJHM
select (case when
fs >
1 then 1 else 0 end ) cfs from (
select count(*) as
fs
, ZJHM
from TB_RY_RYCJ
where (SCBZ = '0' or SCBZ is null)
and (ifhb is null or ifhb
<![CDATA[<>]]>
'1')
and zjhm is not null
<if
test=
"lrdwdm != null and lrdwdm != ''"
>
and lrdwdm like #{lrdwdm , jdbcType=VARCHAR }||'%'
</if>
<if
test=
"maxccsj != null and maxccsj != ''"
>
and lrsj
<![CDATA[<]]>
to_date(#{maxccsj , jdbcType=VARCHAR },'YYYY-MM-DD')+1
</if>
<if
test=
"minccsj != null and minccsj != ''"
>
and lrsj
<![CDATA[>=]]>
to_date(#{minccsj , jdbcType=VARCHAR },'YYYY-MM-DD')
</if>
...
...
src/main/resources/mapper/SysClientVpMapper.xml
View file @
25a551aa
...
...
@@ -338,12 +338,17 @@
<!-- 通过条件分页查询,返回数据集 -->
<select
id=
"selectPageList"
parameterType=
"com.founder.model.SysClientVp"
resultMap=
"BaseResultMap"
>
SELECT * FROM
(
(
select * from (
SELECT A.*, ROWNUM RN
FROM (SELECT * FROM Sys_Client_Vp
<include
refid=
"queryWhere"
/>
) A
WHERE ROWNUM
<![CDATA[ <= ]]>
${end}
<include
refid=
"queryWhere"
/>
<if
test=
"baseIp != null and baseIp != ''"
>
union
SELECT * FROM Sys_Client_Vp vp WHERE vp.SCBZ = '0' AND vp.ip = #{baseIp}
</if>
) A
order by decode(a.ip ,#{baseIp}, A.SPZT), A.SPZT,A.GXSJ desc
)
WHERE ROWNUM
<![CDATA[ <= ]]>
${end})
WHERE RN
<![CDATA[ >= ]]>
${begin}
</select>
...
...
src/main/resources/templates/cjqx/sbjkglform.html
View file @
25a551aa
...
...
@@ -1223,7 +1223,16 @@
]
},
xAxis
:
{
type
:
'category'
,
data
:
groupName
},
yAxis
:
{},
yAxis
:
{
axisLabel
:
{
interval
:
0
,
rotate
:
20
,
}
},
grid
:
{
left
:
'20%'
,},
// Declare several bar series, each will be mapped
// to a column of dataset.source by default.
series
:
[{
...
...
@@ -1284,7 +1293,16 @@
]
},
xAxis
:
{
type
:
'category'
,
data
:
groupName
},
yAxis
:
{},
yAxis
:
{
axisLabel
:
{
interval
:
0
,
rotate
:
20
,
}
},
grid
:
{
left
:
'20%'
,},
// Declare several bar series, each will be mapped
// to a column of dataset.source by default.
series
:
[{
...
...
@@ -1345,7 +1363,16 @@
]
},
xAxis
:
{
type
:
'category'
,
data
:
groupName
},
yAxis
:
{},
yAxis
:
{
axisLabel
:
{
interval
:
0
,
rotate
:
20
,
}
},
grid
:
{
left
:
'20%'
,},
// Declare several bar series, each will be mapped
// to a column of dataset.source by default.
// series: [{ type: 'bar',data:result }]
...
...
src/main/resources/templates/khtj/ryxxtj.html
View file @
25a551aa
This diff is collapsed.
Click to expand it.
src/main/resources/templates/khtj/ryxxtjhk.html
View file @
25a551aa
This diff is collapsed.
Click to expand it.
src/main/resources/templates/whgl/sjwzxjc.html
View file @
25a551aa
...
...
@@ -265,7 +265,7 @@
var
zj
=
row
.
zj
;
var
rstStr
;
if
(
zj
==
null
||
zj
==
""
||
zj
<=
0
){
rstStr
=
"<span onclick='alertCjzt(
\"
zj
\"
,0,
\"
00
\"
)' style='font-size: 20px;font-weight: bold;' title='足迹'>0/1
2
</span>"
;
rstStr
=
"<span onclick='alertCjzt(
\"
zj
\"
,0,
\"
00
\"
)' style='font-size: 20px;font-weight: bold;' title='足迹'>0/1
4
</span>"
;
}
else
{
var
rst
=
""
;
if
(
zj
==
1
){
...
...
@@ -273,7 +273,7 @@
}
else
{
rst
=
"11"
;
}
rstStr
=
"<span onclick='alertCjzt(
\"
zj
\"
,"
+
zj
+
",
\"
"
+
rst
+
"
\"
)' style='font-size: 20px;font-weight: bold;' title='足迹'>"
+
zj
+
"/1
2
</span>"
;
rstStr
=
"<span onclick='alertCjzt(
\"
zj
\"
,"
+
zj
+
",
\"
"
+
rst
+
"
\"
)' style='font-size: 20px;font-weight: bold;' title='足迹'>"
+
zj
+
"/1
4
</span>"
;
}
return
rstStr
;
}},
...
...
src/main/resources/templates/zlcc/iframe2.html
View file @
25a551aa
...
...
@@ -260,14 +260,38 @@
function
doClear
(){
$
(
"form[name='sjkhrwForm']"
)
.
find
(
"input"
).
val
(
''
);
$
(
"input[name='ssdw']"
).
val
(
""
);
openCombotree
(
'ssdw'
);
$
(
"input[name='ssdw']"
).
val
(
$
(
"#userunitcode"
).
val
());
$
(
'#kssjStr'
).
val
(
getRecentDay
);
$
(
'#jssjStr'
).
val
(
getCruuentDay
);
doQuery
();
}
$
(
function
(){
doQuery
();
openCombotree
(
'ssdw'
);
// $("input[name='ssdw']").val($("#userunitcode").val());
$
(
'#kssjStr'
).
val
(
getRecentDay
);
$
(
'#jssjStr'
).
val
(
getCruuentDay
);
$
(
"input[name='ssdw']"
).
val
(
$
(
"#userunitcode"
).
val
());
doQuery
();
});
function
getRecentDay
()
{
var
today
=
new
Date
();
var
tYear
=
today
.
getFullYear
();
var
tMonth
=
today
.
getMonth
();
var
tDate
=
today
.
getDate
();
return
tYear
+
"-"
+
tMonth
+
"-"
+
tDate
;
}
function
getCruuentDay
()
{
var
today
=
new
Date
();
var
tYear
=
today
.
getFullYear
();
var
tMonth
=
today
.
getMonth
()
+
1
;
var
tDate
=
today
.
getDate
();
return
tYear
+
"-"
+
tMonth
+
"-"
+
tDate
;
}
//新建弹框
function
newDialog
(
rwbh
,
iffy
){
if
(
rwbh
!=
null
&&
rwbh
!=
undefined
&&
rwbh
!=
"undefined"
){
...
...
src/main/resources/templates/zlcc/iframe3.html
View file @
25a551aa
...
...
@@ -318,14 +318,36 @@
function
doClear
(){
$
(
"form[name='pfkhrwForm']"
)
.
find
(
"input"
).
val
(
''
);
$
(
"input[name='ssdw']"
).
val
(
""
);
openCombotree
(
'ssdw'
);
$
(
"input[name='ssdw']"
).
val
(
$
(
"#userunitcode"
).
val
());
$
(
'#kssjStr'
).
val
(
getRecentDay
);
$
(
'#jssjStr'
).
val
(
getCruuentDay
);
doQuery
();
}
$
(
function
(){
doQuery
();
openCombotree
(
'ssdw'
);
// $("input[name='ssdw']").val($("#userunitcode").val());
$
(
'#kssjStr'
).
val
(
getRecentDay
);
$
(
'#jssjStr'
).
val
(
getCruuentDay
);
$
(
"input[name='ssdw']"
).
val
(
$
(
"#userunitcode"
).
val
());
doQuery
();
});
function
getRecentDay
()
{
var
today
=
new
Date
();
var
tYear
=
today
.
getFullYear
();
var
tMonth
=
today
.
getMonth
();
var
tDate
=
today
.
getDate
();
return
tYear
+
"-"
+
tMonth
+
"-"
+
tDate
;
}
function
getCruuentDay
()
{
var
today
=
new
Date
();
var
tYear
=
today
.
getFullYear
();
var
tMonth
=
today
.
getMonth
()
+
1
;
var
tDate
=
today
.
getDate
();
return
tYear
+
"-"
+
tMonth
+
"-"
+
tDate
;
}
//新建弹框
function
newDialog
(
rwbh
,
iffy
){
debugger
if
(
rwbh
!=
null
&&
rwbh
!=
undefined
&&
rwbh
!=
"undefined"
){
...
...
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