1
This commit is contained in:
@@ -260,7 +260,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
dao.UpdateEntity(db, temp, "TemplateID")
|
||||
dao.UpdateEntity(db, &temp, "TemplateID")
|
||||
}
|
||||
if temp.TradeLimitID != 0 {
|
||||
param.SaleLimitId = temp.TradeLimitID
|
||||
@@ -270,7 +270,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
dao.UpdateEntity(db, temp, "TradeLimitID")
|
||||
dao.UpdateEntity(db, &temp, "TradeLimitID")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user