浏览代码

测试环境

huxy 2 年之前
父节点
当前提交
aed92a7224

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/scas/entity/SupplierCapacity.java

@@ -25,7 +25,7 @@ public class SupplierCapacity {
     private String cDepCode;//部门
 
     @ApiModelProperty(value = "款号")
-    private java.lang.String itemNumber;
+    private String itemNumber;//款号
 
     @ApiModelProperty(value = "业务员")
     private String cPersonCode;//业务员
@@ -46,7 +46,7 @@ public class SupplierCapacity {
     private BigDecimal iReceivedQTY;//累计入库数量
 
     @ApiModelProperty(value = "单位")
-    private String unit;//单位(委外或者采购)
+    private String unit;//单位
 
     @ApiModelProperty(value = "计划到货月份")
     private Integer arriveMonth;//计划到货月份

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/spapl/service/impl/SyPreAssembledPackingListServiceImpl.java

@@ -624,14 +624,14 @@ public class SyPreAssembledPackingListServiceImpl extends ServiceImpl<SyPreAssem
 			List<SyPreAssembledPackingList> mains=syPreAssembledPackingListMapper.selectList(queryWrapper);
 			for (SyPreAssembledPackingList item : mains){//selectByTailoring
 				int num=syPreAssembledPackingListMapper.selectByTailoring(item.getId());
-				System.out.println("num\t"+num);
+				//System.out.println("num\t"+num);
 				if(num>0){
 					str+=item.getId()+",";//获取已被参照的id
 				}
 				item.setStatus("0");//取消提交
 				syPreAssembledPackingListMapper.updateById(item);
 			}
-			System.out.println("str的长度为:\t"+str.length());
+			//System.out.println("str的长度为:\t"+str.length());
 			if(str.length()>0){
 				throw new JeecgBootException("数据已被成衣装箱单参照");
 			}

+ 6 - 6
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/controller/SyPackingListFabricController.java

@@ -1117,14 +1117,14 @@ public class SyPackingListFabricController {
 				 map.put("poid","one");//销售订单id
 				 for (int x=0;x<3;x++){//最多循环3次
 					 try {
-						 if (map.get("account").equals("103")){
-							 account="103";
+						 if (map.get("account").equals("903")){
+							 account="903";
 							 message+=syPackingListFabricService.three(main,map)+";";
-						 }else if(map.get("account").equals("102")){
-							 account="102";
+						 }else if(map.get("account").equals("902")){
+							 account="902";
 							 message+=syPackingListFabricService.two(main,map)+";";
-						 }else if(map.get("account").equals("101")){
-							 account="101";
+						 }else if(map.get("account").equals("901")){
+							 account="901";
 							 message+=syPackingListFabricService.one(main,map)+";";
 						 }else{
 						 	// 业务员,克重,包装方式,处理方式,是否手册纱,手册纱占比,尺码

+ 41 - 41
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/impl/SyPackingListFabricServiceImpl.java

@@ -1245,11 +1245,11 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				map6.put("CDEFINE12",venName);//供应商(打印)全称
 			}
 
-			if(mapt.get("account").equals("101")){
+			if(mapt.get("account").equals("901")){
 				map5.put("CDEFINE4",main.getLatestDateOfShipment2());//最终船期
 			}
 
-			if(mapt.get("account").equals("103")){//查询委外订单主表数据	顺序---1
+			if(mapt.get("account").equals("903")){//查询委外订单主表数据	顺序---1
 				orderData=syPackingListTailoringMapper.getOmOrPo("om_momain","cCode='"+mapt.get("mpOrder")+"'","moid");
 				map.put("CRDCODE","12");//入库类别(采购入库/委外入库)
 				map.put("CGLTYPE","委外订单");//来源单据类型
@@ -1257,7 +1257,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				//map5.put("CGLTYPE","委外订单");//来源单据类型
 				map6.put("CGLTYPE","销售出库单");//来源单据类型
 			}else {//查询采购订单表数据
-				if(mapt.get("account1").equals("101")){
+				if(mapt.get("account1").equals("901")){
 					orderData=syPackingListTailoringMapper.getOmOrPo("om_momain","cCode='"+mapt.get("mpOrder")+"'","moid");
 					map.put("CRDCODE","12");//入库类别(采购入库/委外入库)
 					map.put("CGLTYPE","委外订单");//来源单据类型
@@ -1301,7 +1301,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 			int num1=1;
 			Map<String,BigDecimal> bigDecimalMap=new HashMap<>();//k:委外采购订单id v:合计数量
 			Map<String,Boolean> booleanMap=new HashMap<>();
-			if(mapt.get("account").equals("101")){//101账套
+			if(mapt.get("account").equals("901")){//901账套
 				for (SyPackingListFabricItem item : main.getSyPackingListFabricItem()){
 					//System.out.println("inventoryCcode\t"+item.getInventoryCcode());
 					if(item.getInventoryCcode().indexOf("04")!=-1||item.getInventoryCcode().indexOf("03")!=-1){
@@ -1324,7 +1324,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				}
 			}
 			for (SyPackingListFabricItem item : main.getSyPackingListFabricItem()){
-				if(mapt.get("account").equals("101")&&booleanMap.containsKey(item.getInventoryCode())){
+				if(mapt.get("account").equals("901")&&booleanMap.containsKey(item.getInventoryCode())){
 					System.out.println("inventoryCode\t"+item.getInventoryCode());
 					if(booleanMap.get(item.getInventoryCode())){//为true就退出循环
 						continue;
@@ -1346,7 +1346,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				map6.put("CACCID",mapt.get("account"));//账套号
 				map7.put("CACCID",mapt.get("account"));//账套号
 
-				if(mapt.get("account").equals("103")){
+				if(mapt.get("account").equals("903")){
 					mapItem.put("CBATCH",item.getDyelotNumber());//批号-缸号
 					mapItem4.put("CBATCH",item.getDyelotNumber());//批号-缸号
 				}else{
@@ -1359,7 +1359,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				}
 				num1++;
 				Map<String,Object> orderDataItem=null;// inum
-				if(!mapt.get("account").equals("103")&&!mapt.get("account1").equals("101")){ //采购订单子表数据  顺序---2
+				if(!mapt.get("account").equals("903")&&!mapt.get("account1").equals("901")){ //采购订单子表数据  顺序---2
 					if(!mapt.containsKey("itemSort")){  //第一次进行循环
 						orderDataItem=syPackingListTailoringMapper.getOmOrPoItem("PO_PoDetails", "ID='"+item.getOmpoIdItem()+"'","ID");
 					}else{
@@ -1401,7 +1401,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 					mapItem.put("AUTOID_PO",orderDataItem.get("id"));//明细ID(采购订单行ID/委外订单行ID)
 					mapItem.put("CBATCHPROPERTY3",item.getRolls());
 					//map5.put("CGLTYPE","委外订单");
-					if(item.getInventoryCcode()!=null&&item.getInventoryCcode().indexOf("040")>-1&&mapt.get("account").equals("103")){//103账套中物料分类为040的印花面料
+					if(item.getInventoryCcode()!=null&&item.getInventoryCcode().indexOf("040")>-1&&mapt.get("account").equals("903")){//903账套中物料分类为040的印花面料
 						List<Map<String,Object>> orderDataItem3 =syPackingListFabricMapper.getOM_MOMaterials(item.getOmpoIdItem(),item.getInventoryCode());//委外订单子表
 						Map<String,Object> mapStr1=syPackingListFabricMapper.getOM_MOMain(item.getOmpoIdItem(),item.getInventoryCode());//供应商编码,存货编码
 						//System.out.println("mapStr1\n"+mapStr1);
@@ -1482,9 +1482,9 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 					mapItem3.put("AUTOID_SO",orderDataItem2.get("iSOsID"));//来源单据明细ID
 					mapt.put("poid", orderDataItem2.get("id"));
 					System.out.println("销售订单子表的行号\t"+orderDataItem2.get("irowno"));
-				}else if(mapt.get("account").equals("103")) {
+				}else if(mapt.get("account").equals("903")) {
 					throw new JeecgBootException(mapt.get("account")+"账套,委外订单子表行id"+mapItem.get("AUTOID_PO")+"的isosid为空");
-				}else if(mapt.get("account").equals("102")) {
+				}else if(mapt.get("account").equals("902")) {
 					throw new JeecgBootException(mapt.get("account")+"账套,委外订单子表行id"+mapItem.get("AUTOID_PO")+"的isosid为空");
 				}
 				//}
@@ -1524,23 +1524,23 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 					}
 				}
 
-				if(!mapt.get("account").equals("101")){
+				if(!mapt.get("account").equals("901")){
 					//Order order=mapSort.get(item.getId());
-					String params1="UFDATA_103_2021";//当前数据库
-					String params2="UFDATA_101_2021";//目标数据库
+					String params1="UFDATA_903_2021";//当前数据库
+					String params2="UFDATA_901_2021";//目标数据库
 					String params4="1000000001";//目标账套
-					if(mapt.get("account").equals("102")){//103
-						params1="UFDATA_102_2021";//当前数据库
+					if(mapt.get("account").equals("902")){//903
+						params1="UFDATA_902_2021";//当前数据库
 					}
-					if(mapt.get("customerCode").equals("T020001")){//101
-						params2="UFDATA_101_2021";
+					if(mapt.get("customerCode").equals("T020001")){//901
+						params2="UFDATA_901_2021";
 						params4="1000000001";
 					}
-					if(mapt.get("customerCode").equals("0001")){//102
-						params2="UFDATA_101_2021";
+					if(mapt.get("customerCode").equals("0001")){//902
+						params2="UFDATA_901_2021";
 						params4="1000000002";
 					}
-					//String params1="UFDATA_103_2021";//当前数据库
+					//String params1="UFDATA_903_2021";//当前数据库
 					String params3=orderIrowno.getOrderNumber();//销售订单号
 					String params5=orderIrowno.getIrowno();//当前数据库行号
 					String ivouchrowno =syPackingListTailoringMapper.getIvouchrowno(params1,params2,params3,params4,params5);
@@ -1563,7 +1563,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 					mapItem6.put("IQUANTITY",item.getActualDeclaredQuantity());//数量
 				}
 
-				if(mapt.get("account").equals("101")&&(item.getInventoryCcode().indexOf("04")!=-1||item.getInventoryCcode().indexOf("03")!=-1)){
+				if(mapt.get("account").equals("901")&&(item.getInventoryCcode().indexOf("04")!=-1||item.getInventoryCcode().indexOf("03")!=-1)){
 					mapItem.put("IQUANTITY",bigDecimalMap.get(item.getInventoryCode()));//入库单数量
 					mapItem5.put("IQUANTITY",bigDecimalMap.get(item.getInventoryCode()));//采购单数量
 				}
@@ -1577,7 +1577,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 				mapItem4.put("CINVCODE",item.getInventoryCode());//存货编码
 				mapItem4.put("size",item.getSize());//根据尺码判断
 				mapItem4.put("SOAUTOIDCOL","IDLSID");//订单明细ID对应字段名(关联单据类型为发货单IDLSID)
-				//mapItem4.put("AUTOID_SO","10300001");//关联明细ID 测试用先写
+				//mapItem4.put("AUTOID_SO","90300001");//关联明细ID 测试用先写
 
 				mapItem5.put("CINVCODE",item.getInventoryCode());//存货编码
 
@@ -1607,10 +1607,10 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 			mapList5.add(map5);
 			map6.put("DETAILList",mapItems6);//明细集合
 			mapList6.add(map6);
-			if(mapt.get("customerCode").equals("T020001")&&!mapt.get("account").equals("101")){
-				mapt.put("account","101");//账套号
-			}else if(mapt.get("customerCode").equals("0001")&&!mapt.get("account").equals("102")){
-				mapt.put("account","102");//账套号
+			if(mapt.get("customerCode").equals("T020001")&&!mapt.get("account").equals("901")){
+				mapt.put("account","901");//账套号
+			}else if(mapt.get("customerCode").equals("0001")&&!mapt.get("account").equals("902")){
+				mapt.put("account","902");//账套号
 			}else{
 				mapt.put("account","104");//账套号
 			}
@@ -1673,17 +1673,17 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 							}
 						}
 						text(mapList5,"采购发票单");
-						if(!((Map) mapList.get(0)).get("CACCID").toString().equals("103")){
+						if(!((Map) mapList.get(0)).get("CACCID").toString().equals("903")){
 							JSONArray resturn5 = InterfaceConnUtils.doPost(mapList5,"purinvoice_import");//采购发票单
 							recording=result(main,resturn5,"采购发票单",((Map) mapList.get(0)).get("CACCID").toString(),"2");//采购发票单
 							recording(main,recording);
 							this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn5.getJSONObject(0).get("U8ReceiptNo").toString()),"109");
-							if(((Map) mapList.get(0)).get("CACCID").toString().equals("101")){
+							if(((Map) mapList.get(0)).get("CACCID").toString().equals("901")){
 								return account+"账套推送成功!";
 							}
 						}
 					case "2":
-						if(account.equals("101")){
+						if(account.equals("901")){
 							return account+"账套推送成功!";
 						}
 						text(mapList3,"销售发货单");
@@ -1691,8 +1691,8 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 						recording=result(main,resturn3,"销售发货单",((Map) mapList.get(0)).get("CACCID").toString(),"3");//销售发货单
 						maps.get(account).put("code",resturn3.getJSONObject(0).get("U8ReceiptNo").toString());
 						recording(main,recording);
-						String u8ReceiptNo103= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
-						this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo103,"108");
+						String u8ReceiptNo903= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
+						this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo903,"108");
 					case "3":
 						String consignmentName=maps.get(account).get("code");//获取销售发货单
 						List<Map<String,Object>> consignmentMaps= syPackingListTailoringMapper.getDispatchLists(consignmentName);
@@ -1769,22 +1769,22 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 
 		text(mapList3,"销售发货单");
 		text(mapList5,"采购发票单");
-		if(!((Map) mapList.get(0)).get("CACCID").toString().equals("103")){
+		if(!((Map) mapList.get(0)).get("CACCID").toString().equals("903")){
 			JSONArray resturn5 = InterfaceConnUtils.doPost(mapList5,"purinvoice_import");//采购发票单
 			recording=result(main,resturn5,"采购发票单",((Map) mapList.get(0)).get("CACCID").toString(),"2");//采购发票单
 			recording(main,recording);
 			this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(resturn5.getJSONObject(0).get("U8ReceiptNo").toString()),"109");
 
 		}
-		if(((Map) mapList.get(0)).get("CACCID").toString().equals("101")){
+		if(((Map) mapList.get(0)).get("CACCID").toString().equals("901")){
 			return mapList.getJSONObject(0).get("CACCID").toString()+"账套推送成功!";
 		}
 
 		JSONArray resturn3 = InterfaceConnUtils.doPost(mapList3,"consignment_import");//销售发货单
 		recording=result(main,resturn3,"销售发货单",((Map) mapList.get(0)).get("CACCID").toString(),"3");//销售发货单
 		recording(main,recording);
-		String u8ReceiptNo103= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
-		this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo103,"108");
+		String u8ReceiptNo903= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
+		this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo903,"108");
 
 		JSONObject jsonObject3=resturn3.getJSONObject(0);//销售发货单
 		String consignmentName=jsonObject3.get("U8ReceiptNo").toString();//获取销售发货单
@@ -2051,10 +2051,10 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 					"or cWhCode='PT0005') "+//辅料
 					"and cCusCode='T020001'" ;//获取所有id
 			List<Map<String, Object>> listMain = new ArrayList<>();
-			if (account.equals("103")) {
-				listMain = senYuDataSourceThree.queryForList(sql);//103
+			if (account.equals("903")) {
+				listMain = senYuDataSourceThree.queryForList(sql);//903
 			} else {
-				listMain = senYuDataSourceTwo.queryForList(sql);//102
+				listMain = senYuDataSourceTwo.queryForList(sql);//902
 			}
 			if (listMain.size() == 0) {
 				continue;//退出本次循环
@@ -2132,10 +2132,10 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 							"and cCusCode='T020001' and\n" +
 							" a.ID  = "+sy.getU8Id().substring(3,sy.getU8Id().length());//查询主表全部拉取
 					List<Map<String, Object>> list = new ArrayList<>();
-					if (account.equals("103")) {
-						list = senYuDataSourceThree.queryForList(sql2);//103
+					if (account.equals("903")) {
+						list = senYuDataSourceThree.queryForList(sql2);//903
 					} else {
-						list = senYuDataSourceTwo.queryForList(sql2);//102
+						list = senYuDataSourceTwo.queryForList(sql2);//902
 					}
 					List<JSONObject> jianSon = JsonChangeUtils.toJSONObject(list);
 					List<SyPackingListFabricItem> items=new ArrayList<>();

+ 3 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/controller/SyPackingListTailoringController.java

@@ -1387,11 +1387,11 @@ public class SyPackingListTailoringController {
 				map.put("poid","one");//销售订单id
 				for (int x=0;x<3;x++){//最多循环3次
 					try {
-						if (map.get("account").equals("103")){
+						if (map.get("account").equals("903")){
 							message+=syPackingListTailoringService.three(main,map);
-						}else if(map.get("account").equals("102")){
+						}else if(map.get("account").equals("902")){
 							message+=syPackingListTailoringService.two(main,map);
-						}else if(map.get("account").equals("101")){
+						}else if(map.get("account").equals("901")){
 							message+=syPackingListTailoringService.one(main,map);
 						}else{
 							break;

+ 23 - 23
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/service/impl/SyPackingListTailoringServiceImpl.java

@@ -1156,11 +1156,11 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 				System.out.println("供应商全称\t"+venName);
 			}
 
-			if(mapt.get("account").equals("101")){
+			if(mapt.get("account").equals("901")){
 				map5.put("CDEFINE4",main.getLatestDateOfShipment2());//最终船期
 			}
 
-			if(mapt.get("account").equals("103")){//查询委外订单主表数据	顺序---1
+			if(mapt.get("account").equals("903")){//查询委外订单主表数据	顺序---1
 				orderData=syPackingListTailoringMapper.getOmOrPo("om_momain","cCode='"+mapt.get("mpOrder")+"'","moid");
 				map.put("CRDCODE","12");//入库类别(采购入库/委外入库)
 				map.put("CGLTYPE","委外订单");//来源单据类型
@@ -1168,7 +1168,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 				map5.put("CGLTYPE","委外订单");//来源单据类型
 				map6.put("CGLTYPE","销售出库单");//来源单据类型
 			}else {//查询采购订单表数据
-				if(mapt.get("account1").equals("101")){
+				if(mapt.get("account1").equals("901")){
 					orderData=syPackingListTailoringMapper.getOmOrPo("om_momain","cCode='"+mapt.get("mpOrder")+"'","moid");
 					map.put("CRDCODE","12");//入库类别(采购入库/委外入库)
 					map.put("CGLTYPE","委外订单");//来源单据类型
@@ -1232,7 +1232,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 
 
 				Map<String,Object> orderDataItem=null;// inum
-				if(!mapt.get("account").equals("103")&&!mapt.get("account1").equals("101")){ //采购订单子表数据  顺序---2
+				if(!mapt.get("account").equals("903")&&!mapt.get("account1").equals("901")){ //采购订单子表数据  顺序---2
 					System.out.println("mapt.get(\"orderNumber\")\n"+mapt.get("orderNumber"));
 					System.out.println("mapt.containsKey(\"itemSort\")\t"+mapt.containsKey("itemSort"));
 					System.out.println("item.getOmpoIdItem()\t"+item.getOmpoIdItem());
@@ -1341,23 +1341,23 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 					}
 				}
 
-				if(!mapt.get("account").equals("101")){
+				if(!mapt.get("account").equals("901")){
 					//Order order=mapSort.get(item.getId());
-					String params1="UFDATA_103_2021";//当前数据库
-					String params2="UFDATA_101_2021";//目标数据库
+					String params1="UFDATA_903_2021";//当前数据库
+					String params2="UFDATA_901_2021";//目标数据库
 					String params4="1000000001";//目标账套
-					if(mapt.get("account").equals("102")){//103
-						params1="UFDATA_102_2021";//当前数据库
+					if(mapt.get("account").equals("902")){//903
+						params1="UFDATA_902_2021";//当前数据库
 					}
-					if(mapt.get("customerCode").equals("T020001")){//101
-						params2="UFDATA_101_2021";
+					if(mapt.get("customerCode").equals("T020001")){//901
+						params2="UFDATA_901_2021";
 						params4="1000000001";
 					}
-					if(mapt.get("customerCode").equals("0001")){//102
-						params2="UFDATA_101_2021";
+					if(mapt.get("customerCode").equals("0001")){//902
+						params2="UFDATA_901_2021";
 						params4="1000000002";
 					}
-					//String params1="UFDATA_103_2021";//当前数据库
+					//String params1="UFDATA_903_2021";//当前数据库
 					String params3= (String) map.get("cOrderCode");//销售订单号
 					String params5=mapSort.get(item.getId());//当前数据库行号
 					String ivouchrowno =syPackingListTailoringMapper.getIvouchrowno(params1,params2,params3,params4,params5);
@@ -1378,7 +1378,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 				mapItem4.put("IQUANTITY",item.getTotal());//数量
 				mapItem4.put("size",item.getSize());//根据尺码判断
 				mapItem4.put("SOAUTOIDCOL","IDLSID");//订单明细ID对应字段名(关联单据类型为发货单IDLSID)
-				//mapItem4.put("AUTOID_SO","10300001");//关联明细ID 测试用先写
+				//mapItem4.put("AUTOID_SO","90300001");//关联明细ID 测试用先写
 
 				mapItem5.put("CINVCODE",item.getInventoryCode());//存货编码
 				mapItem5.put("size",item.getSize());//根据尺码判断
@@ -1406,10 +1406,10 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 			map6.put("DETAILList",mapItems6);//明细集合
 			mapList6.add(map6);
 
-			if(mapt.get("customerCode").equals("T020001")&&!mapt.get("account").equals("101")){
-				mapt.put("account","101");//账套号
-			}else if(mapt.get("customerCode").equals("0001")&&!mapt.get("account").equals("102")){
-				mapt.put("account","102");//账套号
+			if(mapt.get("customerCode").equals("T020001")&&!mapt.get("account").equals("901")){
+				mapt.put("account","901");//账套号
+			}else if(mapt.get("customerCode").equals("0001")&&!mapt.get("account").equals("902")){
+				mapt.put("account","902");//账套号
 			}else{
 				mapt.put("account","104");//账套号
 			}
@@ -1467,8 +1467,8 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 						recording=result(main,resturn3,"销售发货单",((Map) mapList.get(0)).get("CACCID").toString(),"3");//销售发货单
 						maps.get(account).put("code",resturn3.getJSONObject(0).get("U8ReceiptNo").toString());
 						recording(main,recording);
-						String u8ReceiptNo103= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
-						this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo103,"108");
+						String u8ReceiptNo903= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
+						this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo903,"108");
 					case "3":
 						String consignmentName=maps.get(account).get("code");//获取销售发货单
 						List<Map<String,Object>> consignmentMaps= syPackingListTailoringMapper.getDispatchLists(consignmentName);
@@ -1551,8 +1551,8 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 		JSONArray resturn3 = InterfaceConnUtils.doPost(mapList3,"consignment_import");//销售发货单
 		recording=result(main,resturn3,"销售发货单",((Map) mapList.get(0)).get("CACCID").toString(),"3");//销售发货单
 		recording(main,recording);
-		String u8ReceiptNo103= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
-		this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo103,"108");
+		String u8ReceiptNo903= resturn3.getJSONObject(0).get("U8ReceiptNo").toString();
+		this.purchaseWarehousingMapper.updateVoucherHistoryCNumber(u8ReceiptNo903,"108");
 
 		JSONObject jsonObject3=resturn3.getJSONObject(0);//销售发货单
 		String consignmentName=jsonObject3.get("U8ReceiptNo").toString();//获取销售发货单fadfad