Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-supervisor-mini
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 e63247ea
authored
Mar 17, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加删除预警基线配置接口,添加查询录音详情接口,优化日报模块查询接口
1 parent
6e761194
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
src/main/java/cn/com/glsx/dj/supervisor/controller/SupervisorTaskInfoController.java
src/main/java/cn/com/glsx/dj/supervisor/request/SupervisorTaskQueryRequest.java
src/main/java/cn/com/glsx/dj/supervisor/controller/SupervisorTaskInfoController.java
View file @
e63247e
...
...
@@ -51,6 +51,9 @@ public class SupervisorTaskInfoController {
@ApiOperation
(
"提交督导日报任务"
)
public
RopResponse
<
Boolean
>
submitDayTask
(
SupervisorTaskSubmitRequest
request
)
{
SupervisorTaskDTO
taskDTO
=
CommonUtil
.
convertRequest
(
SupervisorTaskDTO
.
class
);
LoginUserInfoResponse
loginUserInfo
=
CommonUtil
.
getLoginUserInfo
();
taskDTO
.
setUpdatedBy
(
loginUserInfo
.
getName
());
taskDTO
.
setUpdatedPhone
(
loginUserInfo
.
getPhone
());
RpcResponse
<
Boolean
>
response
=
supervisorTaskInfoRemote
.
submitDayTask
(
taskDTO
);
if
(
response
.
hasError
())
{
return
RopResponse
.
error
(
response
.
getError
(),
response
.
getMessage
());
...
...
@@ -63,6 +66,9 @@ public class SupervisorTaskInfoController {
@ApiOperation
(
"提交督导周报任务"
)
public
RopResponse
<
Boolean
>
submitWeekTask
(
SupervisorTaskSubmitRequest
request
)
{
SupervisorTaskDTO
taskDTO
=
CommonUtil
.
convertRequest
(
SupervisorTaskDTO
.
class
);
LoginUserInfoResponse
loginUserInfo
=
CommonUtil
.
getLoginUserInfo
();
taskDTO
.
setUpdatedBy
(
loginUserInfo
.
getName
());
taskDTO
.
setUpdatedPhone
(
loginUserInfo
.
getPhone
());
RpcResponse
<
Boolean
>
response
=
supervisorTaskInfoRemote
.
submitWeekTask
(
taskDTO
);
if
(
response
.
hasError
())
{
return
RopResponse
.
error
(
response
.
getError
(),
response
.
getMessage
());
...
...
@@ -78,9 +84,10 @@ public class SupervisorTaskInfoController {
@ApiOperation
(
"提交督导月报任务、专项任务"
)
public
RopResponse
<
Boolean
>
submitMonthTask
(
SupervisorTaskSubmitRequest
request
)
{
LoginUserInfoResponse
userInfo
=
CommonUtil
.
getLoginUserInfo
();
SupervisorTaskDTO
taskDTO
=
CommonUtil
.
convertRequest
(
SupervisorTaskDTO
.
class
);
taskDTO
.
setUpdatedBy
(
userInfo
.
getName
());
LoginUserInfoResponse
loginUserInfo
=
CommonUtil
.
getLoginUserInfo
();
taskDTO
.
setUpdatedBy
(
loginUserInfo
.
getName
());
taskDTO
.
setUpdatedPhone
(
loginUserInfo
.
getPhone
());
RpcResponse
<
Boolean
>
response
=
supervisorTaskInfoRemote
.
submitMonthTask
(
taskDTO
);
if
(
response
.
hasError
())
{
...
...
@@ -120,6 +127,8 @@ public class SupervisorTaskInfoController {
}
}
/**
* 查询督导管理门店列表
*/
...
...
@@ -188,7 +197,7 @@ public class SupervisorTaskInfoController {
@ApiOperation
(
"提交录音复盘/标签记录"
)
public
RopResponse
<
Boolean
>
submitAudioReview
(
SupervisorAudioSubmitRequest
request
)
{
SupervisorAudioReviewInfo
param
=
CommonUtil
.
convertRequest
(
SupervisorAudioReviewInfo
.
class
);
param
.
setUpdatedBy
(
null
);
param
.
setUpdatedBy
(
CommonUtil
.
getLoginUserInfo
().
getName
()
);
RpcResponse
<
Boolean
>
response
=
supervisorTaskInfoRemote
.
submitAudioReview
(
param
);
if
(
response
.
hasError
())
{
return
RopResponse
.
error
(
response
.
getError
(),
response
.
getMessage
());
...
...
@@ -198,6 +207,21 @@ public class SupervisorTaskInfoController {
}
/**
* 查询录音详情信息
*/
@ServiceMethod
(
method
=
"dj.api.supervisor.mini.get.audioReviewDetail"
,
needInSession
=
NeedInSessionType
.
YES
)
@ApiOperation
(
"查询录音详情信息"
)
public
RopResponse
<
AudioReceptionDTO
>
getAudioReviewDetail
(
SupervisorTaskQueryRequest
request
)
{
SupervisorTaskQueryDTO
param
=
CommonUtil
.
convertRequest
(
SupervisorTaskQueryDTO
.
class
);
RpcResponse
<
AudioReceptionDTO
>
response
=
supervisorTaskInfoRemote
.
getAudioReviewDetail
(
param
);
if
(
response
.
hasError
())
{
return
RopResponse
.
error
(
response
.
getError
(),
response
.
getMessage
());
}
else
{
return
RopResponse
.
success
(
response
.
getResult
());
}
}
/**
* 查询录音标签配置,通过配置文件获取即可
*/
@ServiceMethod
(
method
=
"dj.api.supervisor.mini.list.audioReviewTag"
,
needInSession
=
NeedInSessionType
.
YES
)
...
...
src/main/java/cn/com/glsx/dj/supervisor/request/SupervisorTaskQueryRequest.java
View file @
e63247e
...
...
@@ -14,6 +14,9 @@ public class SupervisorTaskQueryRequest extends AbstractRopRequest {
@ApiModelProperty
(
notes
=
"督导任务ID"
)
private
Long
id
;
@ApiModelProperty
(
notes
=
"录音记录ID"
)
private
Long
audioId
;
@ApiModelProperty
(
notes
=
"督导手机号"
)
private
String
supervisorPhone
;
...
...
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