sap接口调整3

highway
zhaoxiaolin 12 months ago
parent e24b2f8a6d
commit 304370cde2

@ -114,7 +114,7 @@ public class SapRFW {
} }
} }
public static class lt_hw{ public class lt_hw{
String material; String material;
String entry_qnt; String entry_qnt;

@ -298,7 +298,7 @@ public class IWCInterfaceServiceImpl implements IWCSInterfaceService {
SapRFW sapRFW = new SapRFW(); SapRFW sapRFW = new SapRFW();
sapRFW.setAufnr(work.getWorkorderCodeSap());//虚拟工单号 sapRFW.setAufnr(work.getWorkorderCodeSap());//虚拟工单号
sapRFW.setGamng(work.getQuantityFeedback().toString());//报工数量 sapRFW.setGamng(work.getQuantityFeedback().toString());//报工数量
SapRFW.lt_gs ltgs = sapRFW.new lt_gs();//生产订单报工工时修改 SapRFW.lt_gs ltgs = sapRFW.getLt_gs();//生产订单报工工时修改
ltgs.setConf_activity1(work.getSac1());//人工 ltgs.setConf_activity1(work.getSac1());//人工
ltgs.setConf_activity2(work.getSac2()); ltgs.setConf_activity2(work.getSac2());
ltgs.setConf_activity3(work.getSac3());//机器 ltgs.setConf_activity3(work.getSac3());//机器

@ -168,7 +168,7 @@ public class OpenServiceImpl implements OpenService {
SapRFW sapRFW = new SapRFW(); SapRFW sapRFW = new SapRFW();
sapRFW.setAufnr(work.getWorkorderCodeSap());//虚拟工单号 sapRFW.setAufnr(work.getWorkorderCodeSap());//虚拟工单号
sapRFW.setGamng(work.getQuantityFeedback().toString());//报工数量 sapRFW.setGamng(work.getQuantityFeedback().toString());//报工数量
SapRFW.lt_gs ltgs = sapRFW.new lt_gs();//生产订单报工工时修改 SapRFW.lt_gs ltgs = sapRFW.getLt_gs();//生产订单报工工时修改
ltgs.setConf_activity1(work.getSac1());//人工 ltgs.setConf_activity1(work.getSac1());//人工
ltgs.setConf_activity2(work.getSac2()); ltgs.setConf_activity2(work.getSac2());
ltgs.setConf_activity3(work.getSac3());//机器 ltgs.setConf_activity3(work.getSac3());//机器

Loading…
Cancel
Save