Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5e02a130
authored
Jun 03, 2026
by
杨卫
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:策略中心自测提交
1 parent
7e11aa2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
src/main/java/cn/com/glsx/dj/strategy/controller/WarningController.java
src/main/java/cn/com/glsx/dj/strategy/request/WarningDetailQueryRopRequest.java
src/main/java/cn/com/glsx/dj/strategy/controller/WarningController.java
View file @
5e02a13
...
@@ -154,6 +154,9 @@ public class WarningController {
...
@@ -154,6 +154,9 @@ public class WarningController {
public
RopResponse
<
List
<
WarningRecordDTO
>>
findWarningDetailByStoreAndStaff
(
WarningDetailQueryRopRequest
request
)
{
public
RopResponse
<
List
<
WarningRecordDTO
>>
findWarningDetailByStoreAndStaff
(
WarningDetailQueryRopRequest
request
)
{
try
{
try
{
WarningRecordQueryRequest
req
=
CommonUtil
.
convertRequest
(
WarningRecordQueryRequest
.
class
);
WarningRecordQueryRequest
req
=
CommonUtil
.
convertRequest
(
WarningRecordQueryRequest
.
class
);
if
(
request
.
getCycleType
()
==
4
)
{
return
RopResponse
.
success
(
CollUtil
.
newArrayList
());
}
// cycleType → timeDimension + 起止日期
// cycleType → timeDimension + 起止日期
String
[]
resolved
=
CommonUtil
.
resolveTimeDimension
(
request
.
getCycleType
(),
req
.
getStartDate
(),
req
.
getEndDate
());
String
[]
resolved
=
CommonUtil
.
resolveTimeDimension
(
request
.
getCycleType
(),
req
.
getStartDate
(),
req
.
getEndDate
());
req
.
setTimeDimension
(
resolved
[
0
]);
req
.
setTimeDimension
(
resolved
[
0
]);
...
...
src/main/java/cn/com/glsx/dj/strategy/request/WarningDetailQueryRopRequest.java
View file @
5e02a13
...
@@ -6,6 +6,8 @@ import lombok.Data;
...
@@ -6,6 +6,8 @@ import lombok.Data;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
lombok.ToString
;
import
lombok.ToString
;
import
java.util.List
;
/**
/**
* 门店员工预警明细查询 ROP 请求。
* 门店员工预警明细查询 ROP 请求。
*
*
...
@@ -29,4 +31,16 @@ public class WarningDetailQueryRopRequest extends AbstractRopRequest {
...
@@ -29,4 +31,16 @@ public class WarningDetailQueryRopRequest extends AbstractRopRequest {
@ApiModelProperty
(
notes
=
"结束日期 yyyy-MM-dd"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"结束日期 yyyy-MM-dd"
,
required
=
true
)
private
String
endDate
;
private
String
endDate
;
@ApiModelProperty
(
notes
=
"门店ID(查询指定门店预警明细时使用)"
)
private
Integer
storeId
;
@ApiModelProperty
(
notes
=
"员工ID(查询指定员工预警明细时使用)"
)
private
String
staffId
;
@ApiModelProperty
(
notes
=
"员工ID(查询指定员工预警明细时使用)"
)
private
List
<
String
>
staffIds
;
@ApiModelProperty
(
notes
=
"监控对象 1=员工 2=门店"
)
private
Integer
monitorTarget
;
}
}
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