Browse Source

update: 安全工器具类型优化

zhongwei
liwen 3 months ago
parent
commit
4cfbbdda45
  1. 3
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java

3
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java

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

Loading…
Cancel
Save