...
|
...
|
@@ -39,6 +39,7 @@ func (repo *TaskRepository) TransformToDomain(d *models.Task) *domain.Task { |
|
|
LevelName: d.LevelName,
|
|
|
SortBy: d.SortBy,
|
|
|
EndTime: d.EndTime,
|
|
|
UseEndtime: d.UseEndtime,
|
|
|
RelatedUser: d.RelatedUser,
|
|
|
RunAt: d.RunAt,
|
|
|
StopAt: d.StopAt,
|
...
|
...
|
@@ -75,6 +76,7 @@ func (repo *TaskRepository) Save(param *domain.Task) error { |
|
|
CurrentStage: param.CurrentStage,
|
|
|
SortBy: param.SortBy,
|
|
|
EndTime: param.EndTime,
|
|
|
UseEndtime: param.UseEndtime,
|
|
|
}
|
|
|
db := repo.transactionContext.PgTx
|
|
|
if m.Id == 0 {
|
...
|
...
|
|