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