Remove redundant field power_id
This commit is contained in:
@@ -7,7 +7,6 @@ object ElementConverter {
|
||||
fun elementToElementVo(element: Element) = ElementVo(
|
||||
id = element.id,
|
||||
name = element.name,
|
||||
powerId = element.powerId,
|
||||
parentId = element.parentId,
|
||||
menuId = element.menuId
|
||||
)
|
||||
|
||||
@@ -8,7 +8,6 @@ object MenuConverter {
|
||||
id = menu.id,
|
||||
name = menu.name,
|
||||
url = menu.url,
|
||||
powerId = menu.powerId,
|
||||
parentId = menu.parentId,
|
||||
moduleId = menu.moduleId
|
||||
)
|
||||
|
||||
@@ -6,7 +6,6 @@ import top.fatweb.api.vo.permission.ModuleVo
|
||||
object ModuleConverter {
|
||||
fun moduleToModuleVo(module: Module) = ModuleVo(
|
||||
id = module.id,
|
||||
name = module.name,
|
||||
powerId = module.powerId
|
||||
name = module.name
|
||||
)
|
||||
}
|
||||
@@ -8,7 +8,6 @@ object OperationConverter {
|
||||
id = operation.id,
|
||||
name = operation.name,
|
||||
code = operation.code,
|
||||
powerId = operation.powerId,
|
||||
elementId = operation.elementId
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user