Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-mindworkplate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fd8e04e7
authored
Jan 28, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]新增参数
1 parent
01b225a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/monitoring/MonitoringService.java
rpc-dj-mindworkplate/src/main/java/cn/com/glsx/dj/mindworkplate/service/monitoring/MonitoringService.java
View file @
fd8e04e
...
@@ -181,6 +181,7 @@ public class MonitoringService {
...
@@ -181,6 +181,7 @@ public class MonitoringService {
List
<
CompletableFuture
<
List
<
ItemDetail
>>>
futures1
=
new
ArrayList
<>();
List
<
CompletableFuture
<
List
<
ItemDetail
>>>
futures1
=
new
ArrayList
<>();
QueryParams
queryParams
=
new
QueryParams
();
QueryParams
queryParams
=
new
QueryParams
();
queryParams
.
setBizs
(
changeBusiness
(
request
.
getBusinessType
()));
queryParams
.
setStartDate
(
nextPeriodRange
.
getStartDate
());
queryParams
.
setStartDate
(
nextPeriodRange
.
getStartDate
());
queryParams
.
setEndDate
(
nextPeriodRange
.
getEndDate
());
queryParams
.
setEndDate
(
nextPeriodRange
.
getEndDate
());
if
(
request
.
getExts
()!=
null
){
if
(
request
.
getExts
()!=
null
){
...
@@ -195,6 +196,7 @@ public class MonitoringService {
...
@@ -195,6 +196,7 @@ public class MonitoringService {
queryParams
.
setExts
(
"merchantIds"
);
queryParams
.
setExts
(
"merchantIds"
);
}
}
queryParams
.
setDateType
(
4
);
queryParams
.
setDateType
(
4
);
queryParams
.
setBrandIds
(
env
.
getProperty
(
"check.param.brandIds"
)==
null
?
"-1,-2,-4,3454"
:
env
.
getProperty
(
"check.param.brandIds"
));
for
(
Rule
rule
:
rules
)
{
for
(
Rule
rule
:
rules
)
{
queryParams
.
setItemCodes
(
rule
.
getFieldName
());
queryParams
.
setItemCodes
(
rule
.
getFieldName
());
...
@@ -252,6 +254,19 @@ public class MonitoringService {
...
@@ -252,6 +254,19 @@ public class MonitoringService {
return
allWarnings
;
return
allWarnings
;
}
}
public
static
Integer
changeBusiness
(
Integer
businessType
)
{
switch
(
businessType
)
{
case
2
:
return
2
;
case
3
:
return
3
;
case
4
:
return
1
;
default
:
return
null
;
}
}
// ========== 辅助方法 ==========
// ========== 辅助方法 ==========
private
String
buildKey
(
String
itemCode
,
Integer
merchantId
,
String
staffUuid
)
{
private
String
buildKey
(
String
itemCode
,
Integer
merchantId
,
String
staffUuid
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment