|
@@ -1254,7 +1254,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
}else{
|
|
|
if(orderData!=null&&orderData.containsKey("id")){
|
|
|
orderDataItem=syPackingListTailoringMapper.getOmOrPoItem("PO_PoDetails", "poid='"+orderData.get("id")+"' and ivouchrowno='"+
|
|
|
- ((Map<String,String>)mapt.get("itemSort")).get(item.getId())+"'","ID");
|
|
|
+ ((Map<String,String>)mapt.get("itemSort")).get(item.getId())+"'","ID");
|
|
|
}
|
|
|
}
|
|
|
if(orderDataItem!=null){
|
|
@@ -1471,7 +1471,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
if (maps.containsKey(account)){
|
|
|
switch (maps.get(account).get("index")){
|
|
|
case "1":
|
|
|
- if(!account.equals("102")){
|
|
|
+ if(!account.equals("102")||mapt.get("customerCode").equals("T020001")){
|
|
|
|
|
|
String purchaseinName=maps.get(account).get("code");
|
|
|
|
|
@@ -1578,7 +1578,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(!((Map) mapList.get(0)).get("CACCID").toString().equals("102")){
|
|
|
+ if(!((Map) mapList.get(0)).get("CACCID").toString().equals("102")||mapt.get("customerCode").equals("T020001")){
|
|
|
JSONArray resturn5 = InterfaceConnUtils.doPost(mapList5,"purinvoice_import");
|
|
|
recording=result(main,resturn5,"采购发票单",((Map) mapList.get(0)).get("CACCID").toString(),"2");
|
|
|
recording(main,recording);
|