|
|
@ -29,7 +29,8 @@ public class EnterpriseCertificationServiceImpl extends ServiceImpl<EnterpriseCe |
|
|
|
public EnterpriseCertification checkWhetherItExists(String company_name, Integer id, String opnenId) { |
|
|
|
public EnterpriseCertification checkWhetherItExists(String company_name, Integer id, String opnenId) { |
|
|
|
QueryWrapper<EnterpriseCertification> wrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper<EnterpriseCertification> wrapper = new QueryWrapper<>(); |
|
|
|
wrapper.eq("company_name", company_name); |
|
|
|
wrapper.eq("company_name", company_name); |
|
|
|
|
|
|
|
wrapper.eq("audit_status", 2); |
|
|
|
|
|
|
|
wrapper.eq("authentication_status", 2); |
|
|
|
|
|
|
|
|
|
|
|
if (!ObjectUtils.isEmpty(id)) { |
|
|
|
if (!ObjectUtils.isEmpty(id)) { |
|
|
|
wrapper.last(" and id <> " + id); |
|
|
|
wrapper.last(" and id <> " + id); |
|
|
|