| | |
| | | public EimsEquVo queryByAssetNo(String assetNo) { |
| | | LambdaQueryWrapper<EimsEqu> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.eq(EimsEqu::getAssetNo, assetNo); |
| | | return baseMapper.selectVoOne(lqw); |
| | | EimsEquVo eimsEquVo = baseMapper.selectVoOne(lqw); |
| | | return eimsEquVo; |
| | | } |
| | | |
| | | /** |
| | |
| | | lqw.eq(bo.getServiceLife() != null, EimsEqu::getServiceLife, bo.getServiceLife()); |
| | | lqw.between(params.get("beginTime") != null && params.get("endTime") != null, |
| | | EimsEqu::getDeployDate, params.get("beginTime"), params.get("endTime")); |
| | | // 按创建日期倒序 |
| | | lqw.orderByDesc(EimsEqu::getCreateTime); |
| | | return lqw; |
| | | } |
| | | |