1
This commit is contained in:
@@ -264,7 +264,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
}
|
}
|
||||||
temp.TemplateID = param.FreightId
|
temp.TemplateID = param.FreightId
|
||||||
globals.SugarLogger.Debugf("================temp:= %s", utils.Format4Output(temp, false))
|
globals.SugarLogger.Debugf("================temp:= %s", utils.Format4Output(temp, false))
|
||||||
_, err = dao.UpdateEntity(db, &temp, "TemplateID")
|
_, err = dao.UpdateEntity(db, temp, "TemplateID")
|
||||||
globals.SugarLogger.Debugf("================err:= %s", utils.Format4Output(err, false))
|
globals.SugarLogger.Debugf("================err:= %s", utils.Format4Output(err, false))
|
||||||
}
|
}
|
||||||
if temp.TradeLimitID != 0 {
|
if temp.TradeLimitID != 0 {
|
||||||
@@ -276,7 +276,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
temp.TradeLimitID = param.SaleLimitId
|
temp.TradeLimitID = param.SaleLimitId
|
||||||
_, err = dao.UpdateEntity(db, &temp, "TradeLimitID")
|
_, err = dao.UpdateEntity(db, temp, "TradeLimitID")
|
||||||
globals.SugarLogger.Debugf("================2err:= %s", utils.Format4Output(err, false))
|
globals.SugarLogger.Debugf("================2err:= %s", utils.Format4Output(err, false))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user