修改问题

This commit is contained in:
Rosy-zhudan
2019-08-30 16:59:46 +08:00
parent 02bb89d67d
commit b9ec8067ac
5 changed files with 11 additions and 4 deletions

View File

@@ -526,3 +526,10 @@ func GetExistingStoreSkuNameInfo(db *DaoDB, storeIDs, skuNameIDs []int) (storeSk
err = GetRows(db, &storeSkuNameList, sql, sqlParams...)
return storeSkuNameList, err
}
func (s *StoreSkuSyncInfo) GetSeq() int {
if s.Seq > 0 {
return s.Seq
}
return int(s.VendorPrice)
}

View File

@@ -49,7 +49,7 @@ const (
FieldActID = "ActID"
FieldVendorActID = "VendorActID"
FieldSkuSeq = "seq"
FieldSkuSeq = "Seq"
)
type ModelIDCUL struct {