Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
1
Merge Requests
1
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
haoban3.0
haoban-manage3.0
Commits
365f629c
Commit
365f629c
authored
Jul 16, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
277bdc61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
MaidianDataController.java
...c/haoban/manage/web/controller/MaidianDataController.java
+7
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/MaidianDataController.java
View file @
365f629c
...
@@ -123,8 +123,13 @@ private static Logger logger = LoggerFactory.getLogger(MaidianDataController.cla
...
@@ -123,8 +123,13 @@ private static Logger logger = LoggerFactory.getLogger(MaidianDataController.cla
resultList
=
EntityUtil
.
changeEntityListByJSON
(
HaobanLoginInfoDTO
.
class
,
list
);
resultList
=
EntityUtil
.
changeEntityListByJSON
(
HaobanLoginInfoDTO
.
class
,
list
);
}
}
for
(
HaobanLoginInfoDTO
dto
:
resultList
){
for
(
HaobanLoginInfoDTO
dto
:
resultList
){
dto
.
setAvgVisitTime
((
double
)
dto
.
getStayTime
()/
dto
.
getLoginClerkCnt
()+
""
);
if
(
dto
.
getLoginClerkCnt
()
==
0
){
dto
.
setAvgLoginTimes
(
dto
.
getLoginClerkTimes
()/
dto
.
getLoginClerkCnt
()+
""
);
dto
.
setAvgVisitTime
(
"0"
);
dto
.
setAvgLoginTimes
(
"0"
);
}
else
{
dto
.
setAvgVisitTime
((
double
)
dto
.
getStayTime
()/
dto
.
getLoginClerkCnt
()+
""
);
dto
.
setAvgLoginTimes
(
dto
.
getLoginClerkTimes
()/
dto
.
getLoginClerkCnt
()+
""
);
}
}
}
if
(
CollectionUtil
.
isEmpty
(
resultList
)){
if
(
CollectionUtil
.
isEmpty
(
resultList
)){
resultList
=
new
ArrayList
<>();
resultList
=
new
ArrayList
<>();
...
...
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