| | |
| | | |
| | | /** |
| | | * 捐献附件Service业务层处理 |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-11-10 |
| | | */ |
| | | @Service |
| | | public class BaseAnnextypeServiceImpl extends ServiceImpl<BaseAnnextypeMapper, BaseAnnextype> implements IBaseAnnextypeService |
| | | { |
| | | public class BaseAnnextypeServiceImpl extends ServiceImpl<BaseAnnextypeMapper, BaseAnnextype> implements IBaseAnnextypeService { |
| | | |
| | | |
| | | /** |
| | | * 查询捐献附件列表 |
| | | * |
| | | * |
| | | * @param baseAnnextype 捐献附件 |
| | | * @return 捐献附件 |
| | | */ |
| | | @Override |
| | | public List<BaseAnnextype> queryList(BaseAnnextype baseAnnextype) { |
| | | LambdaQueryWrapper<BaseAnnextype> wrappers = Wrappers.lambdaQuery(); |
| | | if (StringUtils.isNotBlank(baseAnnextype.getDonationcategory())){ |
| | | wrappers.eq(BaseAnnextype::getDonationcategory ,baseAnnextype.getDonationcategory()); |
| | | if (StringUtils.isNotBlank(baseAnnextype.getDonationcategory())) { |
| | | wrappers.eq(BaseAnnextype::getDonationcategory, baseAnnextype.getDonationcategory()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseAnnextype.getAnnextype())){ |
| | | wrappers.eq(BaseAnnextype::getAnnextype ,baseAnnextype.getAnnextype()); |
| | | if (StringUtils.isNotBlank(baseAnnextype.getAnnextype())) { |
| | | wrappers.eq(BaseAnnextype::getAnnextype, baseAnnextype.getAnnextype()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseAnnextype.getAnnexname())){ |
| | | wrappers.like(BaseAnnextype::getAnnexname ,baseAnnextype.getAnnexname()); |
| | | if (StringUtils.isNotBlank(baseAnnextype.getAnnexname())) { |
| | | wrappers.like(BaseAnnextype::getAnnexname, baseAnnextype.getAnnexname()); |
| | | } |
| | | if (baseAnnextype.getNeed() != null){ |
| | | wrappers.eq(BaseAnnextype::getNeed ,baseAnnextype.getNeed()); |
| | | if (baseAnnextype.getNeed() != null) { |
| | | wrappers.eq(BaseAnnextype::getNeed, baseAnnextype.getNeed()); |
| | | } |
| | | if (baseAnnextype.getSeqno() != null){ |
| | | wrappers.eq(BaseAnnextype::getSeqno ,baseAnnextype.getSeqno()); |
| | | if (baseAnnextype.getSeqno() != null) { |
| | | wrappers.eq(BaseAnnextype::getSeqno, baseAnnextype.getSeqno()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseAnnextype.getCaseNo())) { |
| | | wrappers.eq(BaseAnnextype::getCaseNo, baseAnnextype.getCaseNo()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |