|  |  | @ -99,25 +99,25 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         String customerId = getCustomerId(); |  |  |  |         String customerId = getCustomerId(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         supManufacturerEntity.setCustomerId(customerId); |  |  |  |         supManufacturerEntity.setCustomerId(customerId); | 
			
		
	
		
		
			
				
					
					|  |  |  |         //判断用户名和社会信用代码不能重复
 |  |  |  |         //判断用户名和社会信用代码不能重复
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         FilterSupManufacturerRequest filterSupManufacturerRequest=new FilterSupManufacturerRequest(); |  |  |  |         FilterSupManufacturerRequest filterSupManufacturerRequest = new FilterSupManufacturerRequest(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         filterSupManufacturerRequest.setCompanyName(supManufacturerEntity.getCompanyName()); |  |  |  |         filterSupManufacturerRequest.setCompanyName(supManufacturerEntity.getCompanyName()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         filterSupManufacturerRequest.setCustomerId(getCustomerId()); |  |  |  |         filterSupManufacturerRequest.setCustomerId(getCustomerId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<SupManufacturerEntity> companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); |  |  |  |         List<SupManufacturerEntity> companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(companyEntities.size()>0){ |  |  |  |         if (companyEntities.size() > 0) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.error(999,"企业名称不能重复!"); |  |  |  |             return ResultVOUtils.error(999, "企业名称不能重复!"); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         filterSupManufacturerRequest=new FilterSupManufacturerRequest(); |  |  |  |         filterSupManufacturerRequest = new FilterSupManufacturerRequest(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         filterSupManufacturerRequest.setCustomerId(getCustomerId()); |  |  |  |         filterSupManufacturerRequest.setCustomerId(getCustomerId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         filterSupManufacturerRequest.setCreditCode(supManufacturerEntity.getCreditCode()); |  |  |  |         filterSupManufacturerRequest.setCreditCode(supManufacturerEntity.getCreditCode()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); |  |  |  |         companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(companyEntities.size()>0){ |  |  |  |         if (companyEntities.size() > 0) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.error(999,"统一社会信用代码不能重复!"); |  |  |  |             return ResultVOUtils.error(999, "统一社会信用代码不能重复!"); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         //提交审核
 |  |  |  |         //提交审核
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_CHANGE || supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_UN) { |  |  |  |         if (supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_CHANGE || supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_UN) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             //判断是否上级供应商是否审核通过
 |  |  |  |             //判断是否上级供应商是否审核通过
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             SupCompanyEntity supCompanyEntity = supCompanyService.findCompany(supManufacturerEntity.getCustomerId()); |  |  |  |             SupCompanyEntity supCompanyEntity = supCompanyService.findCompany(supManufacturerEntity.getCustomerId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (supCompanyEntity.getAuditStatus()==null || supCompanyEntity.getAuditStatus() != ConstantStatus.AUDIT_PASS |  |  |  |             if (supCompanyEntity.getAuditStatus() == null || supCompanyEntity.getAuditStatus() != ConstantStatus.AUDIT_PASS | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             ) { |  |  |  |             ) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return ResultVOUtils.error(500, "所属配送企业资质未通过审核,暂时无法提交!"); |  |  |  |                 return ResultVOUtils.error(500, "所属配送企业资质未通过审核,暂时无法提交!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
	
		
		
			
				
					|  |  | @ -129,27 +129,27 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<SupCertSetEntity> supCertSetEntities = supCertSetService.filterCertSets(filterCertSetsRequest); |  |  |  |             List<SupCertSetEntity> supCertSetEntities = supCertSetService.filterCertSets(filterCertSetsRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<SupCertEntity> supCertEntityList = supCertService.findAll(supManufacturerEntity.getCustomerId(), supManufacturerEntity.getManufacturerId()); |  |  |  |             List<SupCertEntity> supCertEntityList = supCertService.findAll(supManufacturerEntity.getCustomerId(), supManufacturerEntity.getManufacturerId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             //判断存在有草稿的未提交的就不能通过
 |  |  |  |             //判断存在有草稿的未提交的就不能通过
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             for(SupCertEntity obj:supCertEntityList){ |  |  |  |             for (SupCertEntity obj : supCertEntityList) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 if (obj.getAuditStatus() == 0.) { |  |  |  |                 if (obj.getAuditStatus() == 0.) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     return  ResultVOUtils.error(999,"资质证书存在草稿不能提交!"); |  |  |  |                     return ResultVOUtils.error(999, "资质证书存在草稿不能提交!"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             ListIterator<SupCertSetEntity> iterable = supCertSetEntities.listIterator(); |  |  |  |             ListIterator<SupCertSetEntity> iterable = supCertSetEntities.listIterator(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             while (iterable.hasNext()) { |  |  |  |             while (iterable.hasNext()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 SupCertSetEntity supCertSetEntity = iterable.next(); |  |  |  |                 SupCertSetEntity supCertSetEntity = iterable.next(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if ((           supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 2 |  |  |  |                 if ((supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) |  |  |  |                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         ( |  |  |  |                         ( | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 1 |  |  |  |                                 supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) |  |  |  |                                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         (       supCertSetEntity.getForeign() != null |  |  |  |                         (supCertSetEntity.getForeign() != null | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 && supCertSetEntity.getForeign() == 1 |  |  |  |                                 && supCertSetEntity.getForeign() == 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1")) |  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         (       supCertSetEntity.getForeign() != null |  |  |  |                         (supCertSetEntity.getForeign() != null | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 && supCertSetEntity.getForeign() == 3 |  |  |  |                                 && supCertSetEntity.getForeign() == 3 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1"))) { |  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1"))) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     for (SupCertEntity supCertEntity : supCertEntityList) { |  |  |  |                     for (SupCertEntity supCertEntity : supCertEntityList) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -197,21 +197,21 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (StrUtil.isEmpty(supManufacturerEntity.getManufacturerId()) || StrUtil.isEmpty(supManufacturerEntity.getCustomerId())) { |  |  |  |         if (StrUtil.isEmpty(supManufacturerEntity.getManufacturerId()) || StrUtil.isEmpty(supManufacturerEntity.getCustomerId())) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.error(500, "参数错误!"); |  |  |  |             return ResultVOUtils.error(500, "参数错误!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(supManufacturerEntity.getId()==0){//新增
 |  |  |  |         if (supManufacturerEntity.getId() == 0) {//新增
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             //判断用户名和社会信用代码不能重复
 |  |  |  |             //判断用户名和社会信用代码不能重复
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         FilterSupManufacturerRequest filterSupManufacturerRequest=new FilterSupManufacturerRequest(); |  |  |  |             FilterSupManufacturerRequest filterSupManufacturerRequest = new FilterSupManufacturerRequest(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             filterSupManufacturerRequest.setCompanyName(supManufacturerEntity.getCompanyName()); |  |  |  |             filterSupManufacturerRequest.setCompanyName(supManufacturerEntity.getCompanyName()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterSupManufacturerRequest.setCustomerId(getCustomerId()); |  |  |  |             filterSupManufacturerRequest.setCustomerId(getCustomerId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<SupManufacturerEntity> companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); |  |  |  |             List<SupManufacturerEntity> companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(companyEntities.size()>0){ |  |  |  |             if (companyEntities.size() > 0) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.error(999,"企业名称不能重复!"); |  |  |  |                 return ResultVOUtils.error(999, "企业名称不能重复!"); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         filterSupManufacturerRequest=new FilterSupManufacturerRequest(); |  |  |  |             filterSupManufacturerRequest = new FilterSupManufacturerRequest(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             filterSupManufacturerRequest.setCustomerId(getCustomerId()); |  |  |  |             filterSupManufacturerRequest.setCustomerId(getCustomerId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterSupManufacturerRequest.setCreditCode(supManufacturerEntity.getCreditCode()); |  |  |  |             filterSupManufacturerRequest.setCreditCode(supManufacturerEntity.getCreditCode()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); |  |  |  |             companyEntities = supManufacturerService.getCompanyByNameAndCode(filterSupManufacturerRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(companyEntities.size()>0){ |  |  |  |             if (companyEntities.size() > 0) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             return ResultVOUtils.error(999,"统一社会信用代码不能重复!"); |  |  |  |                 return ResultVOUtils.error(999, "统一社会信用代码不能重复!"); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -231,27 +231,27 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<SupCertSetEntity> supCertSetEntities = supCertSetService.filterCertSets(filterCertSetsRequest); |  |  |  |             List<SupCertSetEntity> supCertSetEntities = supCertSetService.filterCertSets(filterCertSetsRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<SupCertEntity> supCertEntityList = supCertService.findAll(supManufacturerEntity.getCustomerId(), supManufacturerEntity.getManufacturerId()); |  |  |  |             List<SupCertEntity> supCertEntityList = supCertService.findAll(supManufacturerEntity.getCustomerId(), supManufacturerEntity.getManufacturerId()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             //判断存在有草稿的未提交的就不能通过
 |  |  |  |             //判断存在有草稿的未提交的就不能通过
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             for(SupCertEntity obj:supCertEntityList){ |  |  |  |             for (SupCertEntity obj : supCertEntityList) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 if (obj.getAuditStatus() == 0.) { |  |  |  |                 if (obj.getAuditStatus() == 0.) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     return  ResultVOUtils.error(999,"资质证书存在草稿不能提交!"); |  |  |  |                     return ResultVOUtils.error(999, "资质证书存在草稿不能提交!"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             ListIterator<SupCertSetEntity> iterable = supCertSetEntities.listIterator(); |  |  |  |             ListIterator<SupCertSetEntity> iterable = supCertSetEntities.listIterator(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             while (iterable.hasNext()) { |  |  |  |             while (iterable.hasNext()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 SupCertSetEntity supCertSetEntity = iterable.next(); |  |  |  |                 SupCertSetEntity supCertSetEntity = iterable.next(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if ((           supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 2 |  |  |  |                 if ((supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) |  |  |  |                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         ( |  |  |  |                         ( | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 1 |  |  |  |                                 supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) |  |  |  |                                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         (       supCertSetEntity.getForeign() != null |  |  |  |                         (supCertSetEntity.getForeign() != null | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 && supCertSetEntity.getForeign() == 1 |  |  |  |                                 && supCertSetEntity.getForeign() == 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1")) |  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         (       supCertSetEntity.getForeign() != null |  |  |  |                         (supCertSetEntity.getForeign() != null | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 && supCertSetEntity.getForeign() == 3 |  |  |  |                                 && supCertSetEntity.getForeign() == 3 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1"))) { |  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1"))) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     for (SupCertEntity supCertEntity : supCertEntityList) { |  |  |  |                     for (SupCertEntity supCertEntity : supCertEntityList) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -305,8 +305,7 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |         if (supManufacturerEntity.getAuditStatus() == 1 || supManufacturerEntity.getAuditStatus() == 4) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         if(supManufacturerEntity.getAuditStatus()==1 || supManufacturerEntity.getAuditStatus()==4){ |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             //查询上传的资质证书
 |  |  |  |             //查询上传的资质证书
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             FilterSupCertRequest filterSupCertRequest = new FilterSupCertRequest(); |  |  |  |             FilterSupCertRequest filterSupCertRequest = new FilterSupCertRequest(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterSupCertRequest.setCustomerId(supManufacturerEntity.getCustomerId()); |  |  |  |             filterSupCertRequest.setCustomerId(supManufacturerEntity.getCustomerId()); | 
			
		
	
	
		
		
			
				
					|  |  | @ -322,18 +321,18 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             while (iterable.hasNext()) { |  |  |  |             while (iterable.hasNext()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 SupCertSetEntity supCertSetEntity = iterable.next(); |  |  |  |                 SupCertSetEntity supCertSetEntity = iterable.next(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if ((           supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 2 |  |  |  |                 if ((supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 2 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) |  |  |  |                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         ( |  |  |  |                         ( | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 1 |  |  |  |                                 supCertSetEntity.getForeign() != null && supCertSetEntity.getForeign() == 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) |  |  |  |                                         && StrUtil.trimToEmpty(supManufacturerEntity.getCompanyType()).equals("2")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         (       supCertSetEntity.getForeign() != null |  |  |  |                         (supCertSetEntity.getForeign() != null | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 && supCertSetEntity.getForeign() == 1 |  |  |  |                                 && supCertSetEntity.getForeign() == 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1")) |  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1")) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         || |  |  |  |                         || | 
			
		
	
		
		
			
				
					
					|  |  |  |                         (       supCertSetEntity.getForeign() != null |  |  |  |                         (supCertSetEntity.getForeign() != null | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 && supCertSetEntity.getForeign() == 3 |  |  |  |                                 && supCertSetEntity.getForeign() == 3 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1"))) { |  |  |  |                                 && supManufacturerEntity.getCompanyType().equals("1"))) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     for (SupCertEntity supCertEntity : supCertEntityList) { |  |  |  |                     for (SupCertEntity supCertEntity : supCertEntityList) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -355,7 +354,7 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         String msg=""; |  |  |  |         String msg = ""; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         //  查询是否包含审核未通过的证书
 |  |  |  |         //  查询是否包含审核未通过的证书
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_PASS || |  |  |  |         if (supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_PASS || | 
			
		
	
		
		
			
				
					
					|  |  |  |                 supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_CHANGE_PASS) { |  |  |  |                 supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_CHANGE_PASS) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -367,9 +366,10 @@ public class SupManufacturerController { | 
			
		
	
		
		
			
				
					
					|  |  |  |             List<SupCertEntity> supCertEntityList = supCertService.filterCompanyCert(filterSupCertRequest); |  |  |  |             List<SupCertEntity> supCertEntityList = supCertService.filterCompanyCert(filterSupCertRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (CollUtil.isNotEmpty(supCertEntityList)) { |  |  |  |             if (CollUtil.isNotEmpty(supCertEntityList)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 for (SupCertEntity supCertEntity : supCertEntityList) { |  |  |  |                 for (SupCertEntity supCertEntity : supCertEntityList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     msg+=supCertEntity.getName()+","; |  |  |  |                     msg += supCertEntity.getName() + ","; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 return ResultVOUtils.error(500, "审核失败,还有必须提交证书未确认(" + msg.substring(0, msg.length() - 1) + ")"); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return ResultVOUtils.error(500, "审核失败,还有必须提交证书未确认(" + msg.substring(0,msg.length()-1) + ")");  } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         supManufacturerEntity.setUpdateTime(new Date()); |  |  |  |         supManufacturerEntity.setUpdateTime(new Date()); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |