| | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.domain.ZIdea; |
| | | import com.ruoyi.domain.ZIdea; |
| | | import com.ruoyi.mapper.ZIdeaMapper; |
| | | import com.ruoyi.service.ZIdeaService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | .like(StringUtils.isNotEmpty(zIdea.getTitle()), ZIdea::getTitle, zIdea.getTitle()) |
| | | .like(StringUtils.isNotEmpty(zIdea.getBeneficiary()), ZIdea::getBeneficiary, zIdea.getBeneficiary()) |
| | | .like(StringUtils.isNotEmpty(zIdea.getHeir()), ZIdea::getHeir, zIdea.getHeir()) |
| | | .like(StringUtils.isNotEmpty(zIdea.getDifficulty()), ZIdea::getDifficulty, zIdea.getDifficulty()) |
| | | .like(StringUtils.isNotEmpty(zIdea.getCause()), ZIdea::getCause, zIdea.getCause()) |
| | | .like(zIdea.getIsEffective()!=null, ZIdea::getIsEffective, zIdea.getIsEffective()) |
| | | .between(zIdea.getHappenStartTime() != null && zIdea.getHappenEndTime() != null, ZIdea::getHappenTime, zIdea.getHappenStartTime(), zIdea.getHappenEndTime()) |
| | | .orderByDesc(ZIdea::getCreateTime); |
| | | return lqw; |