This commit is contained in:
邹宗楠
2024-04-08 11:31:46 +08:00
parent c95c780f3f
commit 072aecb493

View File

@@ -263,6 +263,9 @@ func BatchInitSkuMT2MT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi
if v.SkuId == "" {
v.SkuId = storeSku.AppFoodCode
}
if v.SkuId == "" {
v.SkuId = utils.Int2Str(storeSku.Ctime + int(k*3))
}
// salesCycle, _ := json.Marshal(v.AvailableTimes)
mapSkuList := utils.Struct2MapByJson(v)
if v.BoxNum == "" {