正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -680,7 +680,7 @@ func (srv TaskService) MarkTaskAnomaly(param *command.MarkTaskAnomalyCommand) (m | @@ -680,7 +680,7 @@ func (srv TaskService) MarkTaskAnomaly(param *command.MarkTaskAnomalyCommand) (m | ||
680 | "cycleId": strconv.FormatInt(assessList[0].CycleId, 10), | 680 | "cycleId": strconv.FormatInt(assessList[0].CycleId, 10), |
681 | "beginDay": today, | 681 | "beginDay": today, |
682 | "taskRecordId": recordList[0].Id, | 682 | "taskRecordId": recordList[0].Id, |
683 | - "userId": assessList[0].Executor.UserId, | 683 | + "userId": strconv.Itoa(assessList[0].Executor.UserId), |
684 | } | 684 | } |
685 | return result, nil | 685 | return result, nil |
686 | } | 686 | } |
@@ -1081,7 +1081,7 @@ func (srv TaskService) MarkTaskAnomalyByTask(param *command.MarkTaskAnomalyComma | @@ -1081,7 +1081,7 @@ func (srv TaskService) MarkTaskAnomalyByTask(param *command.MarkTaskAnomalyComma | ||
1081 | "cycleId": strconv.FormatInt(assessList[0].CycleId, 10), | 1081 | "cycleId": strconv.FormatInt(assessList[0].CycleId, 10), |
1082 | "beginDay": today, | 1082 | "beginDay": today, |
1083 | "taskRecordId": recordList[0].Id, | 1083 | "taskRecordId": recordList[0].Id, |
1084 | - "userId": assessList[0].Executor.UserId, | 1084 | + "userId": strconv.Itoa(assessList[0].Executor.UserId), |
1085 | } | 1085 | } |
1086 | return result, nil | 1086 | return result, nil |
1087 | } | 1087 | } |
-
请 注册 或 登录 后发表评论