WfAssetManageServiceImpl.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package com.xjrsoft.module.asset.service.impl;
  2. import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
  5. import com.github.yulichang.base.MPJBaseServiceImpl;
  6. import com.github.yulichang.wrapper.MPJLambdaWrapper;
  7. import com.xjrsoft.common.page.ConventPage;
  8. import com.xjrsoft.common.utils.VoToColumnUtil;
  9. import com.xjrsoft.module.asset.dto.WfAssetManagePageDto;
  10. import com.xjrsoft.module.asset.entity.WfAssetManage;
  11. import com.xjrsoft.module.asset.mapper.WfAssetManageMapper;
  12. import com.xjrsoft.module.asset.service.IWfAssetManageService;
  13. import com.xjrsoft.module.asset.vo.WfAssetManagePageVo;
  14. import lombok.AllArgsConstructor;
  15. import org.springframework.stereotype.Service;
  16. import org.springframework.transaction.annotation.Transactional;
  17. import java.util.List;
  18. import java.util.Objects;
  19. import java.util.stream.Collectors;
  20. import com.baomidou.mybatisplus.core.toolkit.Wrappers;
  21. /**
  22. * @title: 资产管理
  23. * @Author dzx
  24. * @Date: 2024-03-28
  25. * @Version 1.0
  26. */
  27. @Service
  28. @AllArgsConstructor
  29. public class WfAssetManageServiceImpl extends MPJBaseServiceImpl<WfAssetManageMapper, WfAssetManage> implements IWfAssetManageService {
  30. private final WfAssetManageMapper wfAssetManageMapper;
  31. @Override
  32. public IPage<WfAssetManagePageVo> getPage(WfAssetManagePageDto dto) {
  33. /*MPJLambdaWrapper<WfAssetManage> wfAssetManageMPJLambdaWrapper = new MPJLambdaWrapper<>();
  34. wfAssetManageMPJLambdaWrapper
  35. .select(WfAssetManage.class,x -> VoToColumnUtil.fieldsToColumns(WfAssetManagePageVo.class).contains(x.getProperty()))
  36. .orderByDesc(WfAssetManage::getId)
  37. ;
  38. this.selectJoinListPage(ConventPage.getPage(dto))*/
  39. return null;
  40. }
  41. }