Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-supervisor
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 459df083
authored
Jun 04, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
督导周任务提交新增更新人字段
1 parent
08abfccd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/dto/WeeklyTaskStatusReqDTO.java
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/ExcellentCaseReviewService.java
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/SupervisorTaskInfoService.java
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/dto/WeeklyTaskStatusReqDTO.java
View file @
459df08
...
@@ -38,4 +38,6 @@ public class WeeklyTaskStatusReqDTO implements Serializable {
...
@@ -38,4 +38,6 @@ public class WeeklyTaskStatusReqDTO implements Serializable {
@NotBlank
(
message
=
"督导UUID不能为空"
)
@NotBlank
(
message
=
"督导UUID不能为空"
)
@ApiModelProperty
(
notes
=
"督导UUID"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"督导UUID"
,
required
=
true
)
private
String
supervisorUuid
;
private
String
supervisorUuid
;
private
String
updateBy
;
}
}
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/ExcellentCaseReviewService.java
View file @
459df08
...
@@ -119,6 +119,7 @@ public class ExcellentCaseReviewService {
...
@@ -119,6 +119,7 @@ public class ExcellentCaseReviewService {
param
.
setTaskType
(
TaskTypeEnum
.
EXCELLENT_CASE_AUDIO
.
getCode
());
param
.
setTaskType
(
TaskTypeEnum
.
EXCELLENT_CASE_AUDIO
.
getCode
());
param
.
setCreateDate
(
DateUtils
.
formatDate
(
new
Date
(),
"yyyy-MM-dd"
));
param
.
setCreateDate
(
DateUtils
.
formatDate
(
new
Date
(),
"yyyy-MM-dd"
));
param
.
setSupervisorUuid
(
currentUserId
);
param
.
setSupervisorUuid
(
currentUserId
);
param
.
setUpdateBy
(
currentUser
);
supervisorTaskInfoService
.
updateWeeklyTaskStatus
(
param
);
supervisorTaskInfoService
.
updateWeeklyTaskStatus
(
param
);
return
true
;
return
true
;
}
}
...
...
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/SupervisorTaskInfoService.java
View file @
459df08
...
@@ -916,6 +916,7 @@ public class SupervisorTaskInfoService {
...
@@ -916,6 +916,7 @@ public class SupervisorTaskInfoService {
param
.
setTaskType
(
TaskTypeEnum
.
COACHING_REQUIREMENT
.
getCode
());
param
.
setTaskType
(
TaskTypeEnum
.
COACHING_REQUIREMENT
.
getCode
());
param
.
setCreateDate
(
org
.
apache
.
http
.
client
.
utils
.
DateUtils
.
formatDate
(
new
Date
(),
"yyyy-MM-dd"
));
param
.
setCreateDate
(
org
.
apache
.
http
.
client
.
utils
.
DateUtils
.
formatDate
(
new
Date
(),
"yyyy-MM-dd"
));
param
.
setSupervisorUuid
(
request
.
getSupervisorUuid
());
param
.
setSupervisorUuid
(
request
.
getSupervisorUuid
());
param
.
setUpdateBy
(
request
.
getSupervisorName
());
updateWeeklyTaskStatus
(
param
);
updateWeeklyTaskStatus
(
param
);
log
.
info
(
"发起带教 - 提交成功,taskId={}"
,
taskId
);
log
.
info
(
"发起带教 - 提交成功,taskId={}"
,
taskId
);
return
taskId
;
return
taskId
;
...
@@ -1161,7 +1162,7 @@ public class SupervisorTaskInfoService {
...
@@ -1161,7 +1162,7 @@ public class SupervisorTaskInfoService {
update
.
setId
(
taskInfo
.
getId
());
update
.
setId
(
taskInfo
.
getId
());
update
.
setTaskStatus
(
newStatus
);
update
.
setTaskStatus
(
newStatus
);
update
.
setUpdatedDate
(
new
Date
());
update
.
setUpdatedDate
(
new
Date
());
update
.
setUpdatedBy
(
"system"
);
update
.
setUpdatedBy
(
request
.
getUpdateBy
()
);
supervisorTaskInfoMapper
.
updateByPrimaryKeySelective
(
update
);
supervisorTaskInfoMapper
.
updateByPrimaryKeySelective
(
update
);
log
.
info
(
"周任务状态已更新,taskId={}, newStatus={}"
,
taskInfo
.
getId
(),
newStatus
);
log
.
info
(
"周任务状态已更新,taskId={}, newStatus={}"
,
taskInfo
.
getId
(),
newStatus
);
}
else
{
}
else
{
...
...
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