|
@@ -198,7 +198,7 @@ func GetLocallifetaskList(ctx context.Context, request http_model.GetLocalTaskLi
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
- listtime = sketchinfo.SubmitAt.Format("2006-01-02 15:04:05")
|
|
|
+ listtime = sketchinfo.CreateAt.Format("2006-01-02 15:04:05")
|
|
|
stageintro = "达人上传初稿时间" //
|
|
|
}
|
|
|
case 11:
|
|
@@ -213,7 +213,7 @@ func GetLocallifetaskList(ctx context.Context, request http_model.GetLocalTaskLi
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
- listtime = linkinfo.SubmitAt.Format("2006-01-02 15:04:05")
|
|
|
+ listtime = linkinfo.CreateAt.Format("2006-01-02 15:04:05")
|
|
|
stageintro = "达人上传链接时间"
|
|
|
}
|
|
|
case 13:
|
|
@@ -228,7 +228,11 @@ func GetLocallifetaskList(ctx context.Context, request http_model.GetLocalTaskLi
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
- listtime = datainfo.SubmitAt.Format("2006-01-02 15:04:05")
|
|
|
+ var auto_task_finish gorm_model.InfoAutoTask
|
|
|
+ db.Model(&gorm_model.InfoAutoTask{}).Where("enterprise_id = ?", request.EnterPriseId).First(&auto_task_finish)
|
|
|
+ // 将小时数转换为 Duration 后相加
|
|
|
+ resultTime := datainfo.CreateAt.Add(time.Duration(auto_task_finish.TaskFinishAuto) * time.Hour)
|
|
|
+ listtime = resultTime.Format("2006-01-02 15:04:05")
|
|
|
stageintro = "品牌最晚结算时间"
|
|
|
}
|
|
|
case 15:
|