| 
					
				 | 
			
			
				@@ -17,6 +17,7 @@ import com.kmall.common.fileserver.util.FileManager; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.kmall.common.utils.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.kmall.common.utils.excel.ExcelExport; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.kmall.common.utils.excel.ExcelUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.kmall.manager.manager.express.sf.ServiceException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.kmall.manager.manager.redis.JedisUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.commons.fileupload.FileItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.commons.fileupload.FileItemFactory; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -34,6 +35,7 @@ import org.springframework.web.multipart.commons.CommonsMultipartFile; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.servlet.http.HttpServletRequest; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.servlet.http.HttpServletResponse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import javax.sql.rowset.serial.SerialException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.io.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -589,6 +591,9 @@ public class GoodsController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String,Object> map = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             map = goodsService.calculateGoodsDetail(prodBarcode,storeId,sku); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } catch (ServiceException e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            log.error("查询订单详情出现异常!", e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return R.error(e.getMessage()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             log.error("查询条码:【{}】详情出现异常!", prodBarcode, e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return R.error("系统异常,请联系管理员!e:"+e.getMessage()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -612,6 +617,9 @@ public class GoodsController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String,Object> map = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             map = goodsService.calculateGoodsDetail(prodBarcode,storeId,null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } catch (ServiceException e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            log.error("查询订单详情出现异常!", e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return R.error(e.getMessage()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             log.error("查询条码:【{}】价格出现异常!", prodBarcode, e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return R.error("系统异常,请联系管理员!e:"+e.getMessage()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -718,6 +726,9 @@ public class GoodsController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<Map<String,Object>> mapList = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             mapList = goodsService.selectSkuDetails(prodBarcode,storeId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } catch (ServiceException e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            log.error("查询sku详情出现异常!", e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return R.error(e.getMessage()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return R.error("系统异常,请联系管理员!e:"+e.getMessage()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |