| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
| | | import com.fasterxml.jackson.databind.ser.Serializers; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | @Override |
| | | public List<BaseOrganization> queryList(BaseOrganization baseOrganization) { |
| | | LambdaQueryWrapper<BaseOrganization> wrappers = Wrappers.lambdaQuery(); |
| | | if (ObjectUtils.isNotEmpty(baseOrganization.getId())) { |
| | | wrappers.eq(BaseOrganization::getId, baseOrganization.getId()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getOrganizationname())) { |
| | | wrappers.like(BaseOrganization::getOrganizationname, baseOrganization.getOrganizationname()); |
| | | } |
| | |
| | | if (StringUtils.isNotBlank(baseOrganization.getCommunity())) { |
| | | wrappers.eq(BaseOrganization::getCommunity, baseOrganization.getCommunity()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getReporterNo())) { |
| | | wrappers.eq(BaseOrganization::getReporterNo, baseOrganization.getReporterNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getReporterName())) { |
| | | wrappers.eq(BaseOrganization::getReporterName, baseOrganization.getReporterName()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getCoordinatorNo())) { |
| | | wrappers.eq(BaseOrganization::getCoordinatorNo, baseOrganization.getCoordinatorNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getCoordinatorName())) { |
| | | wrappers.eq(BaseOrganization::getCoordinatorName, baseOrganization.getCoordinatorName()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getCommunityname())) { |
| | | wrappers.like(BaseOrganization::getCommunityname, baseOrganization.getCommunityname()); |
| | | } |