delete freight

This commit is contained in:
richboo111
2022-11-15 10:49:39 +08:00
parent 6e3459c299
commit 37b17da767
2 changed files with 2 additions and 2 deletions

View File

@@ -1624,7 +1624,7 @@ func DeleteStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
}
}
//删除抖店映射
if _, err1 := dao.ExecuteSQL(db, "DELETE FROM freight_template f WHERE f.store_id = ?", storeID); err != nil {
if _, err1 := dao.ExecuteSQL(db, "DELETE FROM freight_template WHERE freight_template.store_id = ? ", storeID); err != nil {
err = fmt.Errorf("%v,%v", err, err1)
}
return num, err