Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop

This commit is contained in:
richboo111
2023-07-12 16:41:32 +08:00
2 changed files with 1 additions and 2 deletions

View File

@@ -687,8 +687,6 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
}
sql = fmt.Sprintf(sql, fmtParams...)
sql += " ORDER BY t1.price"
globals.SugarLogger.Debugf("sql :============ %s", sql)
globals.SugarLogger.Debugf("sql :============ %s", utils.Format4Output(sqlParams, false))
if err = GetRows(db, &skus, sql, sqlParams...); err != nil {
return nil, err
}

View File

@@ -115,6 +115,7 @@ func (p *PurchaseHandler) IsErrCategoryNotExist(err error) (isNotExist bool) {
func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID int, vendorStoreID string, storeCat *dao.SkuStoreCatInfo) (err error) {
api := getAPI(storeCat.VendorOrgCode, storeID, vendorStoreID)
globals.SugarLogger.Debugf("CreateStoreCategory===== := %s%s%d", vendorStoreID, storeCat.VendorOrgCode, storeID)
globals.SugarLogger.Debugf("storeCat===== := %s", utils.Format4Output(storeCat, false))
// 修改分类
if model.IsSyncStatusUpdate(storeCat.CatSyncStatus) {