...
|
...
|
@@ -153,12 +153,11 @@ func EditAchievement(editData *protocol.RequestEditAchievement, companyid int64) |
|
|
achievementData.AuditTemplateId = editData.AuditTemplateId
|
|
|
achievementData.SourceContent = editData.SourceContent
|
|
|
achievementData.GraspScore = editData.GraspScore
|
|
|
achievementData.UpdateAt = nowTime
|
|
|
achievementData.UserGraspScore = editData.UserGraspScore
|
|
|
achievementData.GraspScoreRemain = newRamain
|
|
|
cols := []string{
|
|
|
"UpdateAt", "ChanceTypeId", "AuditTemplateId", "SourceContent", "GraspScore",
|
|
|
"UserGraspScore",
|
|
|
"UserGraspScore", "GraspScoreRemain",
|
|
|
}
|
|
|
o := orm.NewOrm()
|
|
|
o.Begin()
|
...
|
...
|
|