| 
														
															@@ -644,15 +644,15 @@ public class SyShippingOrderServiceImpl extends ServiceImpl<SyShippingOrderMappe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd 00:00:00.000"); 
														 | 
														
														 | 
														
															         SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd 00:00:00.000"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         DecimalFormat df = new DecimalFormat("#.00"); 
														 | 
														
														 | 
														
															         DecimalFormat df = new DecimalFormat("#.00"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        //记录每次ID 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        String id = ""; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // ID= 年月日+0+毫秒 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        SimpleDateFormat sf2 = new SimpleDateFormat("yyyyMd0SSS"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         //记录每次单据号 
														 | 
														
														 | 
														
															         //记录每次单据号 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         String cCode = ""; 
														 | 
														
														 | 
														
															         String cCode = ""; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         //获取单据号加1 
														 | 
														
														 | 
														
															         //获取单据号加1 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         cCode= org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCodeSalePayVouch("cSPVCode","SalePayVouch","cSPVCode")); 
														 | 
														
														 | 
														
															         cCode= org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCodeSalePayVouch("cSPVCode","SalePayVouch","cSPVCode")); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         //获取ID 
														 | 
														
														 | 
														
															         //获取ID 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        id = org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCodeSalePayVouch("ID","SalePayVouch","ID")); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //id = org.jeecg.modules.system.util.oConvertUtils.addOne(purchaseWarehousingMapper.getMaxCodeSalePayVouch("ID","SalePayVouch","ID")); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         //查询U8汇率 
														 | 
														
														 | 
														
															         //查询U8汇率 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         Map<String, Object> rate = null; 
														 | 
														
														 | 
														
															         Map<String, Object> rate = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         String nflat = ""; 
														 | 
														
														 | 
														
															         String nflat = ""; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -695,6 +695,8 @@ public class SyShippingOrderServiceImpl extends ServiceImpl<SyShippingOrderMappe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 //人民币信息 
														 | 
														
														 | 
														
															                 //人民币信息 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 for (Map<String, Object> rmb : rmbList) { 
														 | 
														
														 | 
														
															                 for (Map<String, Object> rmb : rmbList) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    //ID 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    String id = sf2.format(new Date()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     ii++; 
														 | 
														
														 | 
														
															                     ii++; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     Map<String, Object> map = new HashMap<>(); 
														 | 
														
														 | 
														
															                     Map<String, Object> map = new HashMap<>(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     Map<String, Object> mapPo; 
														 | 
														
														 | 
														
															                     Map<String, Object> mapPo; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -704,7 +706,7 @@ public class SyShippingOrderServiceImpl extends ServiceImpl<SyShippingOrderMappe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     if (ii > 1) { 
														 | 
														
														 | 
														
															                     if (ii > 1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         cCode = org.jeecg.modules.system.util.oConvertUtils.addOne(cCode); 
														 | 
														
														 | 
														
															                         cCode = org.jeecg.modules.system.util.oConvertUtils.addOne(cCode); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        id = org.jeecg.modules.system.util.oConvertUtils.addOne(id); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        //id = org.jeecg.modules.system.util.oConvertUtils.addOne(id); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         map.put("cSPVCode", cCode);//单据号 
														 | 
														
														 | 
														
															                         map.put("cSPVCode", cCode);//单据号 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         map.put("ID", id);//ID 
														 | 
														
														 | 
														
															                         map.put("ID", id);//ID 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     } else { 
														 | 
														
														 | 
														
															                     } else { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -754,6 +756,8 @@ public class SyShippingOrderServiceImpl extends ServiceImpl<SyShippingOrderMappe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if(usdList.size()!=0) { 
														 | 
														
														 | 
														
															             if(usdList.size()!=0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 //美元信息 
														 | 
														
														 | 
														
															                 //美元信息 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 for (Map<String, Object> usd : usdList) { 
														 | 
														
														 | 
														
															                 for (Map<String, Object> usd : usdList) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    //ID 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    String id = sf2.format(new Date()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     ii++; 
														 | 
														
														 | 
														
															                     ii++; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     Map<String, Object> map = new HashMap<>(); 
														 | 
														
														 | 
														
															                     Map<String, Object> map = new HashMap<>(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     Map<String, Object> mapPo; 
														 | 
														
														 | 
														
															                     Map<String, Object> mapPo; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -763,7 +767,7 @@ public class SyShippingOrderServiceImpl extends ServiceImpl<SyShippingOrderMappe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     if (ii > 1) { 
														 | 
														
														 | 
														
															                     if (ii > 1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         cCode = org.jeecg.modules.system.util.oConvertUtils.addOne(cCode); 
														 | 
														
														 | 
														
															                         cCode = org.jeecg.modules.system.util.oConvertUtils.addOne(cCode); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        id = org.jeecg.modules.system.util.oConvertUtils.addOne(id); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        //id = org.jeecg.modules.system.util.oConvertUtils.addOne(id); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         map.put("cSPVCode", cCode);//单据号 
														 | 
														
														 | 
														
															                         map.put("cSPVCode", cCode);//单据号 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         map.put("ID", id);//ID 
														 | 
														
														 | 
														
															                         map.put("ID", id);//ID 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     } else { 
														 | 
														
														 | 
														
															                     } else { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -833,7 +837,7 @@ public class SyShippingOrderServiceImpl extends ServiceImpl<SyShippingOrderMappe 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             purchaseWarehousingMapper.updateVoucherHistoryCNumber(cCode,"09"); 
														 | 
														
														 | 
														
															             purchaseWarehousingMapper.updateVoucherHistoryCNumber(cCode,"09"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															             //修改最大ID 
														 | 
														
														 | 
														
															             //修改最大ID 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            syShippingOrderMapper.updateUaIdentity(id,itemList.get(0).get("pkOrg").toString()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //syShippingOrderMapper.updateUaIdentity(id,itemList.get(0).get("pkOrg").toString()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }catch (Exception e){ 
														 | 
														
														 | 
														
															         }catch (Exception e){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             e.printStackTrace(); 
														 | 
														
														 | 
														
															             e.printStackTrace(); 
														 |