|
|
@ -144,6 +144,9 @@ public class SafetyToolTypeServiceImpl extends ServiceImpl<SafetyToolTypeMapper, |
|
|
|
IPage<SafetyToolTypeEntity> safetyToolTypePages = super.page(Condition.getPage(query), queryWrapper); |
|
|
|
IPage<SafetyToolTypeEntity> safetyToolTypePages = super.page(Condition.getPage(query), queryWrapper); |
|
|
|
IPage<SafetyToolTypeVO> pages = new Page<>(); |
|
|
|
IPage<SafetyToolTypeVO> pages = new Page<>(); |
|
|
|
pages.setRecords(SafetyToolTypeWrapper.build().listVO(safetyToolTypePages.getRecords())); |
|
|
|
pages.setRecords(SafetyToolTypeWrapper.build().listVO(safetyToolTypePages.getRecords())); |
|
|
|
|
|
|
|
pages.setTotal(safetyToolTypePages.getTotal()); |
|
|
|
|
|
|
|
pages.setCurrent(safetyToolTypePages.getCurrent()); |
|
|
|
|
|
|
|
pages.setSize(safetyToolTypePages.getSize()); |
|
|
|
return pages; |
|
|
|
return pages; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|