|  | @@ -64,18 +64,20 @@ public class PortalProductPulishServiceImpl implements PortalProductPulishServic
 | 
	
		
			
				|  |  |  //        productParam.setCompId(compId);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          UmsMember currentMember = memberService.getCurrentMember();
 | 
	
		
			
				|  |  | -        if (currentMember == null){
 | 
	
		
			
				|  |  | -            Asserts.fail("登录异常");
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        String type = currentMember.getType();
 | 
	
		
			
				|  |  | -        if (!"供应商".equals(type)){
 | 
	
		
			
				|  |  | -            Asserts.fail("没有进行供应商认证");
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        productVo.setCompId(currentMember.getCompId());
 | 
	
		
			
				|  |  | -        productVo.setCompName(currentMember.getCompanyInfo());
 | 
	
		
			
				|  |  | +//        if (currentMember == null){
 | 
	
		
			
				|  |  | +//            Asserts.fail("登录异常");
 | 
	
		
			
				|  |  | +//        }
 | 
	
		
			
				|  |  | +//        String type = currentMember.getType();
 | 
	
		
			
				|  |  | +//        if (!"供应商".equals(type)){
 | 
	
		
			
				|  |  | +//            Asserts.fail("没有进行供应商认证");
 | 
	
		
			
				|  |  | +//        }
 | 
	
		
			
				|  |  | +//        productVo.setCompId(currentMember.getCompId());
 | 
	
		
			
				|  |  | +//        productVo.setCompName(currentMember.getCompanyInfo());
 | 
	
		
			
				|  |  |          productVo.setCreateId((long) currentMember.getId());
 | 
	
		
			
				|  |  |          productVo.setCreateType(1);
 | 
	
		
			
				|  |  |          productVo.setCreateTime(new Date());
 | 
	
		
			
				|  |  | +        productVo.setDeleteStatus(0);
 | 
	
		
			
				|  |  | +        productVo.setVerifyStatus(0);
 | 
	
		
			
				|  |  |          PmsProduct product = productVo;
 | 
	
		
			
				|  |  |          product.setId(null);
 | 
	
		
			
				|  |  |          productMapper.insertSelective(product);
 |