...
|
...
|
@@ -297,7 +297,7 @@ func (srv TaskService) UpdateTask(param *command.UpdateTaskCommand) (map[string] |
|
|
for _, val := range markStage {
|
|
|
for _, val2 := range taskData.RelatedUser {
|
|
|
t1 := time.Unix(val.PlanCompletedAt, 0).Format("2006-01-02")
|
|
|
s := fmt.Sprintf("【%s 任务里程碑 %s 完成时间变更为 %s,请知晓", taskData.Name, val.Name, t1)
|
|
|
s := fmt.Sprintf("【%s 任务里程碑 %s 完成时间变更为 %s,请知晓】", taskData.Name, val.Name, t1)
|
|
|
payload := map[string]string{
|
|
|
"id": strconv.Itoa(val.Id),
|
|
|
"taskName": taskData.Name,
|
...
|
...
|
@@ -577,6 +577,7 @@ func (srv TaskService) ListTask(param *command.ListTaskCommand) (map[string]inte |
|
|
Status: int(val.Status),
|
|
|
Level: val.Level,
|
|
|
LevelName: val.LevelName,
|
|
|
Anomaly: val.Anomaly,
|
|
|
// StageA: adapter.TaskStage{},
|
|
|
// StageB: adapter.TaskStage{},
|
|
|
// StageC: adapter.TaskStage{},
|
...
|
...
|
@@ -725,6 +726,7 @@ func (srv TaskService) ListTask2(param *command.SearchTaskCommand) (map[string]i |
|
|
Status: val.TaskStatus,
|
|
|
Level: val.Level,
|
|
|
LevelName: val.LevelName,
|
|
|
Anomaly: val.Anomaly,
|
|
|
// StageA: adapter.TaskStage{},
|
|
|
// StageB: adapter.TaskStage{},
|
|
|
// StageC: adapter.TaskStage{},
|
...
|
...
|
@@ -834,6 +836,7 @@ func (srv TaskService) listTask2ForHrbp(param *command.SearchTaskCommand) (map[s |
|
|
Status: val.TaskStatus,
|
|
|
Level: val.Level,
|
|
|
LevelName: val.LevelName,
|
|
|
Anomaly: val.Anomaly,
|
|
|
// StageA: adapter.TaskStage{},
|
|
|
// StageB: adapter.TaskStage{},
|
|
|
// StageC: adapter.TaskStage{},
|
...
|
...
|
@@ -955,6 +958,7 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map |
|
|
TaskLeader: val.TaskLeader.Name,
|
|
|
AssistLevel: val.AssistLevel,
|
|
|
AssistContent: val.AssistContent,
|
|
|
AnomalyState: val.AnomalyState,
|
|
|
TaskStageCheck: adapter.TaskStage{
|
|
|
Id: val.Id,
|
|
|
Name: val.TaskStageCheck.Name,
|
...
|
...
|
|