fix: analysis data type err
CI / changes (push) Successful in 1m45s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 1s
CI / analysis (push) Successful in 47s
CI / bff (push) Successful in 30s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 1s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 1s
CI / message (push) Successful in 47s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 1s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s

This commit is contained in:
zzw
2026-10-23 16:42:52 +08:00
parent 1eb01c28c1
commit f2fd4acbfd
4 changed files with 13 additions and 13 deletions
@@ -41,8 +41,7 @@ func SaveTask(ts dao.TaskTimeStamp, userId int64, path *dao.HandleZipResource, c
if coverPath != utils.StringEmpty {
updateData["cover"] = coverPath
}
_, err := m.Edit(w, updateData)
return err
return m.Session().Where("task_id = ?", ts.TaskId).Updates(updateData).Error
}
func SaveSubTask(ts dao.TaskTimeStamp, path *dao.HandleZipResource) error {