提交修改

dev-discount
袁野 4 years ago
parent 5cf0af8aaa
commit 83a1a1e33d
  1. 1
      hai-bweb/src/main/java/com/bweb/controller/BsCompanyController.java
  2. 1
      hai-service/src/main/java/com/hai/service/impl/BsCompanyServiceImpl.java

@ -179,7 +179,6 @@ public class BsCompanyController {
|| company.getId() == null || company.getId() == null
|| StringUtils.isBlank(user.getLoginName()) || StringUtils.isBlank(user.getLoginName())
|| StringUtils.isBlank(user.getPassword()) || StringUtils.isBlank(user.getPassword())
|| StringUtils.isBlank(user.getTelephone())
|| user.getId() == null || user.getId() == null
) { ) {
log.error("BsCompanyController --> updateCompany() error!", "参数错误"); log.error("BsCompanyController --> updateCompany() error!", "参数错误");

@ -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") + "%");

Loading…
Cancel
Save