|
|
@@ -423,7 +423,7 @@ func JudgePackageOrdOrdState(ord *model.Order) *model.Order { |
|
|
|
} |
|
|
|
if ordState != oldOrdState { |
|
|
|
ord.State = ordState |
|
|
|
_, err2 := db.Db.Where("oid=?", ord.Oid).Cols("state").Update(&ord) |
|
|
|
_, err2 := db.Db.Where("oid=?", ord.Oid).Cols("state").Update(ord) |
|
|
|
if err2 != nil { |
|
|
|
return ord |
|
|
|
} |
|
|
|