MCPcopy Create free account
hub / github.com/awake1t/linglong / EditTaskLogTaskTime

Function EditTaskLogTaskTime

models/tasklog.go:41–44  ·  view source on GitHub ↗
(id int,createTime string, data interface{})

Source from the content-addressed store, hash-verified

39}
40
41func EditTaskLogTaskTime(id int,createTime string, data interface{}) bool {
42 db.Model(&Task{}).Where("id = ? AND created_time = ?", id,createTime).Updates(data)
43 return true
44}
45
46func EditTaskLog(id int, data interface{}) bool {
47 db.Model(&TaskLog{}).Where("id = ?", id).Updates(data)

Callers 1

NewPortBruteFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected