|
|
@ -106,6 +106,7 @@ public class SapOrderServiceImpl implements SapOrderService {
|
|
|
|
for (int i = 0; i < maraTable.getNumRows(); i++) {
|
|
|
|
for (int i = 0; i < maraTable.getNumRows(); i++) {
|
|
|
|
maraTable.setRow(i);
|
|
|
|
maraTable.setRow(i);
|
|
|
|
String AUFNR = maraTable.getString("AUFNR");
|
|
|
|
String AUFNR = maraTable.getString("AUFNR");
|
|
|
|
|
|
|
|
String CEGCI = maraTable.getString("CEGCI");
|
|
|
|
String AUART = maraTable.getString("AUART");
|
|
|
|
String AUART = maraTable.getString("AUART");
|
|
|
|
String MAUFNR = maraTable.getString("MAUFNR");
|
|
|
|
String MAUFNR = maraTable.getString("MAUFNR");
|
|
|
|
String PLNBEZ = maraTable.getString("PLNBEZ");
|
|
|
|
String PLNBEZ = maraTable.getString("PLNBEZ");
|
|
|
@ -120,7 +121,7 @@ public class SapOrderServiceImpl implements SapOrderService {
|
|
|
|
String ERDAT = maraTable.getString("ERDAT");
|
|
|
|
String ERDAT = maraTable.getString("ERDAT");
|
|
|
|
String STTXT = maraTable.getString("STTXT");
|
|
|
|
String STTXT = maraTable.getString("STTXT");
|
|
|
|
String VERID = maraTable.getString("VERID");
|
|
|
|
String VERID = maraTable.getString("VERID");
|
|
|
|
log.info("订单输出------:"+"订单号:" + AUFNR + " - 订单类型:" + AUART + "-生产版本:"+ VERID +" -上级订单编号:" + MAUFNR + " - 物料号:" + PLNBEZ + " - 物料描述(短文本):" + MAKTX
|
|
|
|
log.info("订单输出------:"+"订单号:" + AUFNR +"工单层数:"+CEGCI+ " - 订单类型:" + AUART + "-生产版本:"+ VERID +" -上级订单编号:" + MAUFNR + " - 物料号:" + PLNBEZ + " - 物料描述(短文本):" + MAKTX
|
|
|
|
+ " - 订单的计划工厂:" + PWERK + " - 订单数量总计:" + GAMNG + " - 基本计量单位:" + GMEIN + " - 任务清单组码:" + PLNNR + " - 基本开始日期:" + GSTRP
|
|
|
|
+ " - 订单的计划工厂:" + PWERK + " - 订单数量总计:" + GAMNG + " - 基本计量单位:" + GMEIN + " - 任务清单组码:" + PLNNR + " - 基本开始日期:" + GSTRP
|
|
|
|
+ " - 基本完成日期:" + GLTRP + " - 输入者:" + ERNAM + " - 创建日期:" + ERDAT + " - 系统状态:" + STTXT);
|
|
|
|
+ " - 基本完成日期:" + GLTRP + " - 输入者:" + ERNAM + " - 创建日期:" + ERDAT + " - 系统状态:" + STTXT);
|
|
|
|
// System.out.println("订单号:" + AUFNR + " - 订单类型:" + AUART + " - 上级订单编号:" + MAUFNR + " - 物料号:" + PLNBEZ + " - 物料描述(短文本):" + MAKTX
|
|
|
|
// System.out.println("订单号:" + AUFNR + " - 订单类型:" + AUART + " - 上级订单编号:" + MAUFNR + " - 物料号:" + PLNBEZ + " - 物料描述(短文本):" + MAKTX
|
|
|
@ -130,6 +131,7 @@ public class SapOrderServiceImpl implements SapOrderService {
|
|
|
|
proOrder.setId(IdUtils.fastSimpleUUID());
|
|
|
|
proOrder.setId(IdUtils.fastSimpleUUID());
|
|
|
|
proOrder.setPlanFactoryCode(PWERK);
|
|
|
|
proOrder.setPlanFactoryCode(PWERK);
|
|
|
|
proOrder.setOrderCode(AUFNR);
|
|
|
|
proOrder.setOrderCode(AUFNR);
|
|
|
|
|
|
|
|
proOrder.setCegci(CEGCI);
|
|
|
|
proOrder.setOrderType(AUART);
|
|
|
|
proOrder.setOrderType(AUART);
|
|
|
|
proOrder.setAtrr2(VERID);
|
|
|
|
proOrder.setAtrr2(VERID);
|
|
|
|
proOrder.setProdCode(PLNBEZ);
|
|
|
|
proOrder.setProdCode(PLNBEZ);
|
|
|
|