sku and delete freight

This commit is contained in:
richboo111
2022-11-15 10:15:18 +08:00
parent a80902a6e1
commit 7e2957b41d
2 changed files with 13 additions and 0 deletions

View File

@@ -1623,6 +1623,10 @@ func DeleteStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
err = AddEventDetail(db, ctx, model.OperateDelete, vendorID, model.ThingTypeStore, storeID, "", `{"VendorID":`+utils.Int2Str(vendorID)+`}`)
}
}
//删除抖店映射
if _, err1 := dao.ExecuteSQL(db, "DELETE FROM freight_template f WHERE f.store_id = ?", storeID); err != nil {
err = fmt.Errorf("%v,%v", err, err1)
}
return num, err
}