|
@@ -154,13 +154,14 @@ func SetPermissionByEdbIdList(edbIdList []string, userIdList []int, edbInfoType
|
|
|
|
|
|
delete(edbInfoPermissionMap, key)
|
|
|
} else {
|
|
|
-
|
|
|
+
|
|
|
addList = append(addList, &EdbInfoPermission{
|
|
|
|
|
|
- EdbInfoId: int32(edbInfoId),
|
|
|
- SysUserId: int32(userId),
|
|
|
- ModifyTime: time.Now(),
|
|
|
- CreateTime: time.Now(),
|
|
|
+ EdbInfoId: int32(edbInfoId),
|
|
|
+ SysUserId: int32(userId),
|
|
|
+ EdbInfoType: int32(edbInfoType),
|
|
|
+ ModifyTime: time.Now(),
|
|
|
+ CreateTime: time.Now(),
|
|
|
})
|
|
|
}
|
|
|
}
|