|  | @@ -1208,6 +1208,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 | 
	
		
			
				|  |  |  		String pushsno002=org.jeecg.modules.system.util.oConvertUtils.addOne(redisUtil.get("pushsno002").toString());
 | 
	
		
			
				|  |  |  		String pushsno003=org.jeecg.modules.system.util.oConvertUtils.addOne(redisUtil.get("pushsno003").toString());
 | 
	
		
			
				|  |  |  		String pushsno004=org.jeecg.modules.system.util.oConvertUtils.addOne(redisUtil.get("pushsno004").toString());
 | 
	
		
			
				|  |  | +		redisUtil.set("pushsno004", pushsno004);//采购委外入库单
 | 
	
		
			
				|  |  |  		String pushsno005=org.jeecg.modules.system.util.oConvertUtils.addOne(redisUtil.get("pushsno005").toString());
 | 
	
		
			
				|  |  |  		String pushsno006=org.jeecg.modules.system.util.oConvertUtils.addOne(redisUtil.get("pushsno006").toString());
 | 
	
		
			
				|  |  |  		String pushsno007=org.jeecg.modules.system.util.oConvertUtils.addOne(pushsno001);
 | 
	
	
		
			
				|  | @@ -1444,14 +1445,20 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  				if(mapt.get("account").equals("103")){
 | 
	
		
			
				|  |  |  					mapItem.put("CBATCH",item.getDyelotNumber());//批号-缸号
 | 
	
		
			
				|  |  | +					mapItem3.put("CBATCH",item.getDyelotNumber());//批号-缸号
 | 
	
		
			
				|  |  |  					mapItem4.put("CBATCH",item.getDyelotNumber());//批号-缸号
 | 
	
		
			
				|  |  | +					mapItem5.put("CBATCH",item.getDyelotNumber());//批号-缸号
 | 
	
		
			
				|  |  | +					mapItem6.put("CBATCH",item.getDyelotNumber());//批号-缸号
 | 
	
		
			
				|  |  |  				}else{
 | 
	
		
			
				|  |  |  					/*if(item.getPlanLotNumber().indexOf("-")<0){
 | 
	
		
			
				|  |  |  						throw new JeecgBootException("缸号不规范,请先进行维护在推送接口");
 | 
	
		
			
				|  |  |  					}*/
 | 
	
		
			
				|  |  |  					String cbatch=item.getDyelotNumber().substring(0,item.getDyelotNumber().indexOf("-"));
 | 
	
		
			
				|  |  | -					mapItem.put("CBATCH",item.getPlanLotNumber());//缸号
 | 
	
		
			
				|  |  | -					mapItem4.put("CBATCH",item.getPlanLotNumber());//缸号
 | 
	
		
			
				|  |  | +					mapItem.put("CBATCH",cbatch);//缸号
 | 
	
		
			
				|  |  | +					mapItem3.put("CBATCH",cbatch);//缸号
 | 
	
		
			
				|  |  | +					mapItem4.put("CBATCH",cbatch);//缸号
 | 
	
		
			
				|  |  | +					mapItem5.put("CBATCH",cbatch);//缸号
 | 
	
		
			
				|  |  | +					mapItem6.put("CBATCH",cbatch);//缸号
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  |  				num1++;
 | 
	
		
			
				|  |  |  				Map<String,Object> orderDataItem=null;// inum
 | 
	
	
		
			
				|  | @@ -1744,7 +1751,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 | 
	
		
			
				|  |  |  		text(mapList,mapt.get("ordertype")+"入库单");
 | 
	
		
			
				|  |  |  		if(mapList2!=null&&mapList2.size()>0){
 | 
	
		
			
				|  |  |  			text(mapList2,"材料出库单");
 | 
	
		
			
				|  |  | -			text(mapList7,"印厂采购入库单");
 | 
	
		
			
				|  |  | +			text(mapList7,"染厂采购入库单");
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		String isSucceed=null;
 | 
	
		
			
				|  |  |  		//try{
 | 
	
	
		
			
				|  | @@ -1756,9 +1763,9 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 | 
	
		
			
				|  |  |  				//this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn2.getJSONObject(0).get("U8ReceiptNo").toString()),"107");
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  			else if(mapList2!=null&&mapList2.size()>0&&main.getIsSucceed()==null){
 | 
	
		
			
				|  |  | -				redisUtil.set("pushsno001", pushsno007);//印厂采购入库单
 | 
	
		
			
				|  |  | +				redisUtil.set("pushsno001", pushsno007);//染厂采购入库单
 | 
	
		
			
				|  |  |  				JSONArray resturn7 = InterfaceConnUtils.doPost(mapList7,"purchasein_import");//采购入库单
 | 
	
		
			
				|  |  | -				isSucceed=result(main,resturn7,"印厂采购入库单",((Map) mapList.get(0)).get("CACCID").toString(),"7");//采购入库单
 | 
	
		
			
				|  |  | +				isSucceed=result(main,resturn7,"染厂采购入库单",((Map) mapList.get(0)).get("CACCID").toString(),"7");//采购入库单
 | 
	
		
			
				|  |  |  				pushsno001=org.jeecg.modules.system.util.oConvertUtils.addOne(pushsno001);
 | 
	
		
			
				|  |  |  				isSucceed(main,isSucceed);
 | 
	
		
			
				|  |  |  				//this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn7.getJSONObject(0).get("U8ReceiptNo").toString()),"107");
 | 
	
	
		
			
				|  | @@ -1852,7 +1859,6 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  						text(mapList4,"销售出库单");
 | 
	
		
			
				|  |  |  						//return null;//提示报错测试数据
 | 
	
		
			
				|  |  | -						redisUtil.set("pushsno004", pushsno004);//采购委外入库单
 | 
	
		
			
				|  |  |  						JSONArray resturn4 = InterfaceConnUtils.doPost(mapList4,"saleout_import");
 | 
	
		
			
				|  |  |  						recording=result(main,resturn4,"销售出库单",((Map) mapList.get(0)).get("CACCID").toString(),"4");//销售出库单
 | 
	
		
			
				|  |  |  						maps.get(account).put("code",resturn4.getJSONObject(0).get("U8ReceiptNo").toString());
 | 
	
	
		
			
				|  | @@ -1961,7 +1967,6 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		text(mapList4,"销售出库单");
 | 
	
		
			
				|  |  | -		redisUtil.set("pushsno004", pushsno004);//采购委外入库单
 | 
	
		
			
				|  |  |  		JSONArray resturn4 = InterfaceConnUtils.doPost(mapList4,"saleout_import");//
 | 
	
		
			
				|  |  |  		recording=result(main,resturn4,"销售出库单",((Map) mapList.get(0)).get("CACCID").toString(),"4");//销售出库单
 | 
	
		
			
				|  |  |  		recording(main,recording);
 | 
	
	
		
			
				|  | @@ -2607,6 +2612,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 | 
	
		
			
				|  |  |  						item.setRemarks2("TC证书");
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | +				jsonObject.put("CBATCH",item.getDyelotNumber());//批号-缸号
 | 
	
		
			
				|  |  |  				jsonObject.put("CBMEMO",item.getRemarks2());//子表备注
 | 
	
		
			
				|  |  |  				//jsonObject.put("size",item.getInventoryCode());//存货编码
 | 
	
		
			
				|  |  |  				jsonObject.put("DISAUTOIDCOL","AUTOID");//对应类型
 |