Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop
This commit is contained in:
@@ -687,8 +687,6 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
|
|||||||
}
|
}
|
||||||
sql = fmt.Sprintf(sql, fmtParams...)
|
sql = fmt.Sprintf(sql, fmtParams...)
|
||||||
sql += " ORDER BY t1.price"
|
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 {
|
if err = GetRows(db, &skus, sql, sqlParams...); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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) {
|
func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID int, vendorStoreID string, storeCat *dao.SkuStoreCatInfo) (err error) {
|
||||||
api := getAPI(storeCat.VendorOrgCode, storeID, vendorStoreID)
|
api := getAPI(storeCat.VendorOrgCode, storeID, vendorStoreID)
|
||||||
globals.SugarLogger.Debugf("CreateStoreCategory===== := %s%s%d", vendorStoreID, storeCat.VendorOrgCode, storeID)
|
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) {
|
if model.IsSyncStatusUpdate(storeCat.CatSyncStatus) {
|
||||||
|
|||||||
Reference in New Issue
Block a user