| 
					
				 | 
			
			
				@@ -7,6 +7,7 @@ import com.kmall.admin.service.GoodsTransportInfoDetailService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.kmall.admin.utils.ShiroUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.kmall.common.utils.Query; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.kmall.common.utils.RRException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.apache.commons.lang3.StringUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.transaction.annotation.Transactional; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -98,6 +99,7 @@ public class GoodsTransportInfoDetailServiceImpl implements GoodsTransportInfoDe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (goodsTransportInfoDetailExcelDtoList==null || goodsTransportInfoDetailExcelDtoList.size()==0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             throw new RRException("请填写至少一行数据"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         goodsTransportInfoDetailExcelDtoList.forEach(goodsTransportInfoDetailExcelDto -> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             GoodsTransportInfoDetailEntity goodsTransportInfoDetailEntity = new GoodsTransportInfoDetailEntity(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (goodsTransportInfoDetailExcelDto.getWayStatus()==null || 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -108,6 +110,9 @@ public class GoodsTransportInfoDetailServiceImpl implements GoodsTransportInfoDe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (goodsTransportInfoDetailExcelDto.getSupplierId()==null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 throw new RRException("供应商id必填"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (StringUtils.isEmpty(goodsTransportInfoDetailExcelDto.getSku())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                throw new RRException("sku必填"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 判断sku和供应商id是否存在 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Integer exist = goodsTransportInfoDetailDao.existGoodsBySkuAndsupplierId(goodsTransportInfoDetailExcelDto.getSku(), goodsTransportInfoDetailExcelDto.getSupplierId()); 
			 |