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
0dc6bd4f
Commit
0dc6bd4f
authored
Jul 24, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改排队统计更新与组合查询
parent
aaaed4e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
bill-manager/src/main/java/com/mortals/xhx/module/ph/web/PhQueueStatController.java
.../com/mortals/xhx/module/ph/web/PhQueueStatController.java
+5
-4
bill-manager/src/test/java/com/mortals/httpclient/ph/PhQueueStatController.http
...java/com/mortals/httpclient/ph/PhQueueStatController.http
+2
-2
No files found.
bill-manager/src/main/java/com/mortals/xhx/module/ph/web/PhQueueStatController.java
View file @
0dc6bd4f
...
...
@@ -28,6 +28,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -83,10 +84,10 @@ public class PhQueueStatController extends BaseCRUDJsonBodyMappingController<PhQ
@Override
protected
void
doListBefore
(
PhQueueStatEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
if
(
ObjectUtils
.
isEmpty
(
query
.
getHallName
())
)
query
.
setHallName
(
""
);
if
(
ObjectUtils
.
isEmpty
(
query
.
getSectionName
())
)
query
.
setSectionName
(
""
);
if
(
ObjectUtils
.
isEmpty
(
query
.
getBusiness
())
)
query
.
setBusiness
(
""
);
if
(
ObjectUtils
.
isEmpty
(
query
.
getWindowFromnum
())
)
query
.
setWindowFromnum
(
""
);
if
(
ObjectUtils
.
isEmpty
(
query
.
getHallName
())
&&
ObjectUtils
.
isEmpty
(
query
.
getHallNameList
()))
query
.
setHallNameList
(
Arrays
.
asList
(
""
)
);
if
(
ObjectUtils
.
isEmpty
(
query
.
getSectionName
())
&&
ObjectUtils
.
isEmpty
(
query
.
getSectionNameList
()))
query
.
setSectionNameList
(
Arrays
.
asList
(
""
)
);
if
(
ObjectUtils
.
isEmpty
(
query
.
getBusiness
())
&&
ObjectUtils
.
isEmpty
(
query
.
getBusinessList
()))
query
.
setBusinessList
(
Arrays
.
asList
(
""
)
);
if
(
ObjectUtils
.
isEmpty
(
query
.
getWindowFromnum
())
&&
ObjectUtils
.
isEmpty
(
query
.
getWindowFromnumList
()))
query
.
setWindowFromnumList
(
Arrays
.
asList
(
""
)
);
addGroup
(
query
);
model
.
put
(
"siteId"
,
query
.
getSiteId
());
}
...
...
bill-manager/src/test/java/com/mortals/httpclient/ph/PhQueueStatController.http
View file @
0dc6bd4f
...
...
@@ -18,8 +18,8 @@ POST {{baseUrl}}/ph/queue/stat/interlist
Content-Type: application/json
{
"timeStart": "2024-0
7-01
",
"timeEnd": "2024-0
7-15
",
"timeStart": "2024-0
6-24
",
"timeEnd": "2024-0
6-24
",
"siteId": 1,
"businessNotList": [""],
...
...
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