This commit is contained in:
gazebo
2019-01-04 14:37:53 +08:00
parent ea4844fa54
commit 25dd701a6a

View File

@@ -248,8 +248,8 @@ func Convert2JDSPU(ctx *jxcontext.Context, count int, isAsync, isContinueWhenErr
return "", err
}
globals.SugarLogger.Debugf("Convert2JDSPU, skuName:%s, skuCount:%d", skuName.Name, len(skuList))
if len(skuList) > 0 {
globals.SugarLogger.Debugf("Convert2JDSPU, name:%s", skuName.Name)
dao.Begin(db)
skuNameNew2 := *skuName
skuNameNew := &skuNameNew2