|
|
@ -37,7 +37,6 @@ public class BsCompanyServiceImpl implements BsCompanyService { |
|
|
|
public List<BsCompany> findPage(Map<String, String> map) { |
|
|
|
public List<BsCompany> findPage(Map<String, String> map) { |
|
|
|
BsCompanyExample example = new BsCompanyExample(); |
|
|
|
BsCompanyExample example = new BsCompanyExample(); |
|
|
|
BsCompanyExample.Criteria criteria = example.createCriteria(); |
|
|
|
BsCompanyExample.Criteria criteria = example.createCriteria(); |
|
|
|
criteria.andStatusEqualTo(1); |
|
|
|
|
|
|
|
criteria.andIdNotEqualTo(1L); |
|
|
|
criteria.andIdNotEqualTo(1L); |
|
|
|
if(StringUtils.isNotBlank(map.get("name"))){ |
|
|
|
if(StringUtils.isNotBlank(map.get("name"))){ |
|
|
|
criteria.andNameLike("%" + map.get("name") + "%"); |
|
|
|
criteria.andNameLike("%" + map.get("name") + "%"); |
|
|
|