Compare commits

..

2 Commits

  1. 3
      nakadai/src/main/java/com/huoran/nakadai/service/impl/EnterpriseCertificationServiceImpl.java

@ -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);

Loading…
Cancel
Save