|
@@ -8,6 +8,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import com.ruoyi.zdsz.domain.ZEngineeringMaterial;
|
|
|
+import com.ruoyi.zdsz.domain.bo.ZBuildingBo;
|
|
|
+import com.ruoyi.zdsz.domain.vo.ZBuildingVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import com.ruoyi.zdsz.domain.bo.ZEngineeringMaterialsResetsBo;
|
|
@@ -45,9 +47,12 @@ public class ZEngineeringMaterialsResetsServiceImpl implements IZEngineeringMate
|
|
|
*/
|
|
|
@Override
|
|
|
public TableDataInfo<ZEngineeringMaterialsResetsVo> queryPageList(ZEngineeringMaterialsResetsBo bo, PageQuery pageQuery) {
|
|
|
- LambdaQueryWrapper<ZEngineeringMaterialsResets> lqw = buildQueryWrapper(bo);
|
|
|
- Page<ZEngineeringMaterialsResetsVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
|
|
|
- return TableDataInfo.build(result);
|
|
|
+// LambdaQueryWrapper<ZEngineeringMaterialsResets> lqw = buildQueryWrapper(bo);
|
|
|
+// Page<ZEngineeringMaterialsResetsVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
|
|
|
+// return TableDataInfo.build(result);
|
|
|
+ Page<ZEngineeringMaterialsResetsBo> page = new Page<>(pageQuery.getPageNum(), pageQuery.getPageSize());
|
|
|
+ Page<ZEngineeringMaterialsResetsVo> list = baseMapper.getPageList(bo,page);
|
|
|
+ return TableDataInfo.build(list);
|
|
|
}
|
|
|
|
|
|
/**
|