a
This commit is contained in:
@@ -885,6 +885,7 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act
|
|||||||
if isNeedCancelAct {
|
if isNeedCancelAct {
|
||||||
act := &model.Act{}
|
act := &model.Act{}
|
||||||
act.ID = actID
|
act.ID = actID
|
||||||
|
if err == nil {
|
||||||
if _, err = dao.UpdateEntityLogically(db, act,
|
if _, err = dao.UpdateEntityLogically(db, act,
|
||||||
map[string]interface{}{
|
map[string]interface{}{
|
||||||
model.FieldStatus: model.ActStatusCanceled,
|
model.FieldStatus: model.ActStatusCanceled,
|
||||||
@@ -892,6 +893,7 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act
|
|||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
dao.Commit(db)
|
dao.Commit(db)
|
||||||
return originSyncStatus, err
|
return originSyncStatus, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user