From 0c4901d833d12effab84f9da47e87569996bb64d Mon Sep 17 00:00:00 2001 From: Yangwl <1726150332@qq.com> Date: Tue, 16 Apr 2024 17:58:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E4=BB=B6=E5=B7=A5=E8=B5=84=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/op/mes/service/impl/MesUnitPriceServiceImpl.java | 1 + .../main/java/com/op/sap/service/impl/SapItemSyncImpl.java | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/op-modules/op-mes/src/main/java/com/op/mes/service/impl/MesUnitPriceServiceImpl.java b/op-modules/op-mes/src/main/java/com/op/mes/service/impl/MesUnitPriceServiceImpl.java index 4323c4fc..a4a574a0 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/service/impl/MesUnitPriceServiceImpl.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/service/impl/MesUnitPriceServiceImpl.java @@ -93,6 +93,7 @@ public class MesUnitPriceServiceImpl implements IMesUnitPriceService { * @return 结果 */ @Override + @DS("#header.poolName") public int deleteMesUnitPriceByPicIds(String[] picIds) { return mesUnitPriceMapper.deleteMesUnitPriceByPicIds(picIds); } diff --git a/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java b/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java index b72170ca..df49e188 100644 --- a/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java +++ b/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java @@ -494,6 +494,8 @@ public class SapItemSyncImpl implements SapItemSyncService { String MAKTX=maraTable.getString("MAKTX");//物料描述 String VBELN=maraTable.getString("VBELN");//交货单 String VBELN_VA=maraTable.getString("VBELN_VA");//销售单 + String AUART=maraTable.getString("AUART");//销售凭证类型 + String BEZEI=maraTable.getString("BEZEI");//销售凭证类型描述 String MENGE=maraTable.getString("MENGE");//数量 String MEINS=maraTable.getString("MEINS");//单位 String TDDAT=maraTable.getString("TDDAT");//计划日期 @@ -503,13 +505,15 @@ public class SapItemSyncImpl implements SapItemSyncService { String LIFNR_NM=maraTable.getString("LIFNR_NM");//货运代理描述 String ZSAREA=maraTable.getString("ZSAREA");//销售大区 String BZTXT1=maraTable.getString("BZTXT1");//销售大区描述 - log.info("物料号"+MATNR+"物料描述"+MAKTX+"交货单"+VBELN+"销售单"+VBELN_VA+ + log.info("物料号"+MATNR+"物料描述"+MAKTX+"交货单"+VBELN+"销售单"+VBELN_VA+"销售凭证类型"+AUART+"销售凭证类型描述"+BEZEI+ "数量"+MENGE+"单位"+MEINS+"计划日期"+TDDAT+"送达方"+KUNNR+"送达方描述"+KUNNR_NM+"货运代理"+LIFNR+ "货运代理描述"+LIFNR_NM+"销售大区"+ZSAREA+"销售大区描述"+BZTXT1); map.put("MATNR",MATNR); map.put("MAKTX",MAKTX); map.put("VBELN",VBELN); map.put("VBELN_VA",VBELN_VA); + map.put("AUART",AUART); + map.put("BEZEI",BEZEI); map.put("MENGE",MENGE); map.put("MEINS",MEINS); map.put("TDDAT",TDDAT);