1
This commit is contained in:
@@ -37,6 +37,10 @@ func CreateThingMap(thingId int64, vendorThingID, appOrgCode, skuAttrId string)
|
||||
Remark: skuAttrId,
|
||||
SyncStatus: 0,
|
||||
}
|
||||
// 正常来说这个skuAttrId 不应该为空
|
||||
if skuAttrId == "" {
|
||||
thingMap.Remark = "这个值不应该为空才对"
|
||||
}
|
||||
|
||||
WrapAddIDCULDEntity(thingMap, "jxadmin")
|
||||
return CreateEntity(GetDB(), thingMap)
|
||||
|
||||
Reference in New Issue
Block a user