1
This commit is contained in:
@@ -1854,7 +1854,7 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
|
||||
// dao.UpdateEntity(db, storeDetail, "Address")
|
||||
// // 添加同步
|
||||
valid["address"] = payload["address"].(string)
|
||||
//syncStatus |= model.SyncFlagStoreName
|
||||
syncStatus |= model.SyncFlagStoreName
|
||||
address = payload["address"].(string)
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user