修改假运单配送

This commit is contained in:
邹宗楠
2024-01-11 14:26:53 +08:00
parent bfae3ae9d2
commit 6ffbb71106
8 changed files with 55 additions and 46 deletions

View File

@@ -198,7 +198,7 @@ func GetPlaces(ctx *jxcontext.Context, keyword string, includeDisabled bool, par
}
sql += " ORDER BY t1.level, t1.name"
places := []*model.Place{}
return places, dao.GetRows(nil, &places, sql, sqlParams)
return places, dao.GetRows(nil, &places, sql, sqlParams...)
}
func UpdatePlaces(ctx *jxcontext.Context, places []map[string]interface{}, userName string) (num int64, err error) {

View File

@@ -6690,3 +6690,18 @@ func BatchSetRestockingPrice(ctx *jxcontext.Context, preData map[string][]mtwmap
}
return nil
}
// 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
// }
//
//
// }
// })
// return nil
//}