...
|
...
|
@@ -533,7 +533,7 @@ func ChanceSubmit(header *protocol.RequestHeader, request *protocol.ChanceSubmit |
|
|
go agg.BulkInsertSelfChecks(header, chance.Id, chance.Id, request.SelfChecks, false, protocol.TypeSubmit)
|
|
|
orm.Commit()
|
|
|
if request.Id > 0 {
|
|
|
if e := utils.ExecuteSQLWithOrmer(orm, models.DeleteChanceDraft, header.UserId, request.Id); e != nil {
|
|
|
if e := utils.ExecuteSQLWithOrmer(orm, fmt.Sprintf(models.DeleteChanceDraft, header.UserId, request.Id)); e != nil {
|
|
|
log.Error("删除草稿箱异常:", e)
|
|
|
}
|
|
|
}
|
...
|
...
|
|