|
@@ -43,7 +43,7 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
|
|
lqw.eq(StrUtil.isNotBlank(bo.getTitle()), CertificateTp::getTitle, bo.getTitle());
|
|
lqw.eq(StrUtil.isNotBlank(bo.getTitle()), CertificateTp::getTitle, bo.getTitle());
|
|
lqw.eq(StrUtil.isNotBlank(bo.getIntroduce()), CertificateTp::getIntroduce, bo.getIntroduce());
|
|
lqw.eq(StrUtil.isNotBlank(bo.getIntroduce()), CertificateTp::getIntroduce, bo.getIntroduce());
|
|
lqw.eq(bo.getTypeId() != null, CertificateTp::getTypeId, bo.getTypeId());
|
|
lqw.eq(bo.getTypeId() != null, CertificateTp::getTypeId, bo.getTypeId());
|
|
- lqw.eq(bo.getStatus() != null, CertificateTp::getStatus, bo.getStatus());
|
|
|
|
|
|
+ lqw.in(bo.getStatus() != null, CertificateTp::getStatus, bo.getStatus());
|
|
return entity2Vo(this.list(lqw));
|
|
return entity2Vo(this.list(lqw));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -84,6 +84,11 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
|
|
return this.updateById(update);
|
|
return this.updateById(update);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public List<CertificateTpVo> selectList(CertificateTpQueryBo bo) {
|
|
|
|
+ return this.baseMapper.selectList(bo);
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 保存前的数据校验
|
|
* 保存前的数据校验
|
|
*
|
|
*
|