Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-platform
Commits
ddb02793
Commit
ddb02793
authored
Jul 23, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计排除排队中呼叫转移的号码
parent
296843e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
...ls/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
+1
-1
bill-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+1
-1
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/service/impl/PhQueueStatServiceImpl.java
View file @
ddb02793
...
@@ -261,7 +261,7 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
...
@@ -261,7 +261,7 @@ public class PhQueueStatServiceImpl extends AbstractCRUDServiceImpl<PhQueueStatD
if
(
ObjectUtils
.
isEmpty
(
window
))
return
;
if
(
ObjectUtils
.
isEmpty
(
window
))
return
;
List
<
PhQueueEntity
>
value
=
item
.
getValue
();
List
<
PhQueueEntity
>
value
=
item
.
getValue
();
Double
intAvg
=
value
.
stream
().
mapToInt
(
e
->
e
.
getWaitTime
()).
average
().
orElse
(
0
D
);
Double
intAvg
=
value
.
stream
().
mapToInt
(
e
->
e
.
getWaitTime
()).
average
().
orElse
(
0
D
);
log
.
info
(
"更新站点排队统计数据,站点名称:{},日期:{},窗口:{},排队数量:{}"
,
entity
.
getSiteName
(),
currentDate
,
window
,
phQueueEntities
.
size
());
//
log.info("更新站点排队统计数据,站点名称:{},日期:{},窗口:{},排队数量:{}", entity.getSiteName(), currentDate,window, phQueueEntities.size());
PhQueueStatEntity
phQueueStatEntity
=
this
.
selectOne
(
new
PhQueueStatQuery
()
PhQueueStatEntity
phQueueStatEntity
=
this
.
selectOne
(
new
PhQueueStatQuery
()
.
siteId
(
entity
.
getSiteId
())
.
siteId
(
entity
.
getSiteId
())
.
windowFromnum
(
window
)
.
windowFromnum
(
window
)
...
...
bill-manager/src/test/java/com/mortals/httpclient/system.http
View file @
ddb02793
...
@@ -56,7 +56,7 @@ POST {{baseUrl}}/ph/queue/stat/stat
...
@@ -56,7 +56,7 @@ POST {{baseUrl}}/ph/queue/stat/stat
Content-Type: application/json
Content-Type: application/json
{
{
"taketimeStart": "2024-0
1
-01",
"taketimeStart": "2024-0
6
-01",
"taketimeEnd": "2024-07-15"
"taketimeEnd": "2024-07-15"
}
}
...
...
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