1
This commit is contained in:
@@ -27,15 +27,15 @@ func GetThingMapList(db *DaoDB, thingType int, vendorIDs, thingIDs []int, vendor
|
||||
return cats, err
|
||||
}
|
||||
|
||||
func CreateThingMap(thingId int64, vendorThingID, appOrgCode, skuAttrId string) error {
|
||||
func CreateThingMap(thingId int64, vendorThingID, appOrgCode, skuAttrId string, thingType, syncStatus int8) error {
|
||||
thingMap := &model.ThingMap{
|
||||
ThingID: thingId,
|
||||
ThingType: model.ThingTypeSku,
|
||||
ThingType: thingType,
|
||||
VendorID: model.VendorIDDD,
|
||||
VendorOrgCode: appOrgCode,
|
||||
VendorThingID: vendorThingID,
|
||||
Remark: skuAttrId,
|
||||
SyncStatus: 0,
|
||||
SyncStatus: syncStatus,
|
||||
}
|
||||
// 正常来说这个skuAttrId 不应该为空
|
||||
if skuAttrId == "" {
|
||||
|
||||
Reference in New Issue
Block a user