| 
					
				 | 
			
			
				@@ -2026,13 +2026,13 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			jsonObject1.put("CDEFINE4",syPackingListTailoring.getTheFinalShippingDate().substring(0,10));//最终船期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			jsonObject1.put("CDEFINE6",syPackingListTailoring.getTheFinalShippingDate2().substring(0,10));//合同日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			jsonObject1.put("CDEFINE10",syPackingListTailoring.getShippingOrderNumber());//托书号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			String	venName=syPackingListTailoringMapper.getCvenName3(syPackingListTailoring.getRdrecord32Code()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if (venName==null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				venName=syPackingListTailoringMapper.getCvenName4(syPackingListTailoring.getRdrecord32Code()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			jsonObject1.put("CDEFINE12",venName);//供应商全称 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if(account.equals("102")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				String	venName=syPackingListTailoringMapper.getCvenName2(syPackingListTailoring.getSupplier()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				jsonObject1.put("CDEFINE12",venName);//供应商全称 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				jsonObject1.put("IVTID","131606");//模板号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				String	venName=syPackingListTailoringMapper.getCvenName2(syPackingListTailoring.getSupplier()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				jsonObject1.put("CDEFINE12",venName);//供应商全称 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			jsonObject1.put("CPAYCODE",orderData.get("cPayCode"));//付款条件编码 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			jsonObject1.put("IEXCHRATE",orderData.get("nflat"));//汇率 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2195,7 +2195,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			System.out.println("syPackingListFabric.getSupplierCode()\t"+syPackingListTailoring.getSupplierCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if(syPackingListTailoring.getSupplierCode()!=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				String	venName=syPackingListTailoringMapper.getCvenName2(syPackingListTailoring.getSupplier()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				jsonObject1.put("CDEFINE12",venName);//供应商全称 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				//jsonObject1.put("CDEFINE12",venName);//供应商全称 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			jsonObject1.put("CBUSTYPE",order.get("cBusType"));//业务类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			jsonObject1.put("CCUSCODE",order.get("cCusCode"));//客户编码 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2445,26 +2445,26 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return mapLists; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//	/** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//	 * 采购发票 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//	 * @param codes,listTailorings 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//	 * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//	 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//	public Map<String,List<String>> getSuppliers(List<String> codes,List<SyPackingListTailoring> listTailorings){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//		List<Map<String,Object>> suppliers=syPackingListTailoringMapper.getSuppliers("rdrecord01",codes.toArray(new String[codes.size()])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//		Map<String,List<String>> mapLists=new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//		for (Map<String,Object> map : suppliers){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//			if(mapLists.containsKey(map.get("cVenCode").toString()+"-"+map.get("cPersonCode").toString())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//				mapLists.get(map.get("cVenCode").toString()+"-"+map.get("cPersonCode").toString()).add(map.get("ccode").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//			}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//				List<String> list=new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//				list.add(map.get("ccode").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//				mapLists.put(map.get("cVenCode").toString()+"-"+map.get("cPersonCode").toString(),list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//		System.out.println("mapLists\t"+mapLists); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//		return mapLists; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+/*	*//** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 * 采购发票 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 * @param codes,listTailorings 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	 *//* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	public Map<String,List<String>> getSuppliers(List<String> codes,List<SyPackingListTailoring> listTailorings){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		List<Map<String,Object>> suppliers=syPackingListTailoringMapper.getSuppliers("rdrecord01",codes.toArray(new String[codes.size()])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		Map<String,List<String>> mapLists=new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		for (Map<String,Object> map : suppliers){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if(mapLists.containsKey(map.get("cVenCode").toString()+"-"+map.get("cPersonCode").toString())){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				mapLists.get(map.get("cVenCode").toString()+"-"+map.get("cPersonCode").toString()).add(map.get("ccode").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				List<String> list=new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				list.add(map.get("ccode").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				mapLists.put(map.get("cVenCode").toString()+"-"+map.get("cPersonCode").toString(),list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		System.out.println("mapLists\t"+mapLists); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		return mapLists; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	/** 
			 |