fk
This commit is contained in:
@@ -629,10 +629,6 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act
|
|||||||
if len(actMap) == 0 {
|
if len(actMap) == 0 {
|
||||||
return 0, fmt.Errorf("找不到活动:%d,或已被取消", actID)
|
return 0, fmt.Errorf("找不到活动:%d,或已被取消", actID)
|
||||||
}
|
}
|
||||||
if actMap[0].Status != model.ActStatusCreated {
|
|
||||||
// 如果不是正常状态直接跳过
|
|
||||||
return 0, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
actStoreSkuMap, err := dao.GetActStoreSkuVendorInfo(db, actID, nil, nil, nil)
|
actStoreSkuMap, err := dao.GetActStoreSkuVendorInfo(db, actID, nil, nil, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user