| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package com.xjrsoft.module.asset.service.impl;
- import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
- import com.github.yulichang.base.MPJBaseServiceImpl;
- import com.github.yulichang.wrapper.MPJLambdaWrapper;
- import com.xjrsoft.common.page.ConventPage;
- import com.xjrsoft.common.utils.VoToColumnUtil;
- import com.xjrsoft.module.asset.dto.WfAssetManagePageDto;
- import com.xjrsoft.module.asset.entity.WfAssetManage;
- import com.xjrsoft.module.asset.mapper.WfAssetManageMapper;
- import com.xjrsoft.module.asset.service.IWfAssetManageService;
- import com.xjrsoft.module.asset.vo.WfAssetManagePageVo;
- import lombok.AllArgsConstructor;
- import org.springframework.stereotype.Service;
- import org.springframework.transaction.annotation.Transactional;
- import java.util.List;
- import java.util.Objects;
- import java.util.stream.Collectors;
- import com.baomidou.mybatisplus.core.toolkit.Wrappers;
- /**
- * @title: 资产管理
- * @Author dzx
- * @Date: 2024-03-28
- * @Version 1.0
- */
- @Service
- @AllArgsConstructor
- public class WfAssetManageServiceImpl extends MPJBaseServiceImpl<WfAssetManageMapper, WfAssetManage> implements IWfAssetManageService {
- private final WfAssetManageMapper wfAssetManageMapper;
- @Override
- public IPage<WfAssetManagePageVo> getPage(WfAssetManagePageDto dto) {
- /*MPJLambdaWrapper<WfAssetManage> wfAssetManageMPJLambdaWrapper = new MPJLambdaWrapper<>();
- wfAssetManageMPJLambdaWrapper
- .select(WfAssetManage.class,x -> VoToColumnUtil.fieldsToColumns(WfAssetManagePageVo.class).contains(x.getProperty()))
- .orderByDesc(WfAssetManage::getId)
- ;
- this.selectJoinListPage(ConventPage.getPage(dto))*/
- return null;
- }
- }
|