1
This commit is contained in:
@@ -79,7 +79,7 @@ type StoreSkuBindSkuInfo struct {
|
||||
SkuID int `json:"skuID"`
|
||||
IsSale int `json:"isSale,omitempty"` // -1:不可售,0:忽略,1:可售
|
||||
Stock *int `json:"stock"`
|
||||
LocationCode string `json:"location_code"` // 物料货架码
|
||||
LocationCode string `json:"locationCode"` // 物料货架码
|
||||
// ElmID int64 `json:"elmID,omitempty"`
|
||||
// EbaiID int64 `json:"ebaiID,omitempty"`
|
||||
MtLadderBoxPrice int `json:"mtLadderBoxPrice"`
|
||||
|
||||
@@ -436,8 +436,6 @@ func GetSkusCategories(db *DaoDB, vendorID, storeID int, skuIDs []int, level int
|
||||
}
|
||||
fieldPrefix := ConvertDBFieldPrefix(model.VendorNames[vendorID])
|
||||
sql = fmt.Sprintf(sql, fieldPrefix, fieldPrefix, fieldPrefix, fieldPrefix, fieldPrefix, fieldPrefix)
|
||||
globals.SugarLogger.Debugf("------sql := %s", sql)
|
||||
globals.SugarLogger.Debugf("------sqlParams := %s", utils.Format4Output(sqlParams, false))
|
||||
if err = GetRows(db, &cats, sql, sqlParams...); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user