| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper; |
| | | import com.ycl.common.utils.SecurityUtils; |
| | | import com.ycl.domain.entity.ProjectInvestmentFunding; |
| | | import com.ycl.domain.entity.ProjectInvestmentInfo; |
| | |
| | | */ |
| | | @Override |
| | | public Result detail(Integer id) { |
| | | QueryWrapper<ProjectInvestmentFunding> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("project_id",id); |
| | | ProjectInvestmentFunding entity = baseMapper.selectOne(queryWrapper); |
| | | ProjectInvestmentFunding entity = new LambdaQueryChainWrapper<>(baseMapper) |
| | | .eq(ProjectInvestmentFunding::getProjectId, id) |
| | | .one(); |
| | | ProjectInvestmentFundingVO vo =new ProjectInvestmentFundingVO(); |
| | | if(entity!=null){ |
| | | vo = ProjectInvestmentFundingVO.getVoByEntity(entity, null); |