This commit is contained in:
邹宗楠
2024-01-11 14:48:16 +08:00
parent 9394b7ae44
commit 70ea2de269
2 changed files with 17 additions and 9 deletions

View File

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