This commit is contained in:
邹宗楠
2024-01-12 10:23:16 +08:00
parent b4ddfa37df
commit 349b8fd4dc
6 changed files with 84 additions and 22 deletions

View File

@@ -6692,23 +6692,11 @@ func BatchSetRestockingPrice(ctx *jxcontext.Context, preData map[string][]mtwmap
}
// BatchSetMTBoxPrice 批量修改美团包装费为0
//func BatchSetMTBoxPrice(jxStoreId []int) error {
// var db = dao.GetDB()
// for _, v := range jxStoreId {
// storeDetail, err := dao.GetStoreDetail(db, v, model.VendorIDMTWM, "")
// if err != nil {
// return err
// }
//
// storeSkuList, err := dao.GetStoresSkusInfo(db, []int{v}, nil)
// if err != nil {
// return err
// }
//
// }
//
// utils.CallFuncAsync(func() {
//
// })
// return nil
//}
func BatchSetMTBoxPrice(ctx *jxcontext.Context, jxStoreId []int) error {
var db = dao.GetDB()
for _, v := range jxStoreId {
mtwm.UpdateBoxPrice(ctx, db, v)
}
return nil
}