修改报工实体类

highway
Yangwl 1 year ago
parent 05a931c3a5
commit fc43732c0c

@ -1,5 +1,7 @@
package com.op.system.api.domain.sap; package com.op.system.api.domain.sap;
import java.util.List;
/** /**
* *
*/ */
@ -7,14 +9,14 @@ public class SapRFW {
private String aufnr; private String aufnr;
private String gamng; private String gamng;
private lt_gs lt_gs; private lt_gs lt_gs;
private lt_hw lt_hw; private List<lt_hw> lt_hwList;
public SapRFW.lt_hw getLt_hw() { public List<lt_hw> getLt_hwList() {
return lt_hw; return lt_hwList;
} }
public void setLt_hw(SapRFW.lt_hw lt_hw) { public void setLt_hwList(List<lt_hw> lt_hwList) {
this.lt_hw = lt_hw; this.lt_hwList = lt_hwList;
} }
public SapRFW.lt_gs getLt_gs() { public SapRFW.lt_gs getLt_gs() {
@ -140,13 +142,5 @@ public class SapRFW {
'}'; '}';
} }
} }
@Override
public String toString() {
return "{" +
"aufnr:"+aufnr+","+
"gamng:"+gamng+","+
"lt_gs:"+lt_gs.toString()+","+
"lt_hw:"+lt_hw.toString()+","+
"}";
}
} }

@ -304,10 +304,12 @@ public class IWCInterfaceServiceImpl implements IWCSInterfaceService {
ltgs.setConf_activity5(work.getSac5());//折旧 ltgs.setConf_activity5(work.getSac5());//折旧
ltgs.setConf_activity6(work.getSac6()); ltgs.setConf_activity6(work.getSac6());
sapRFW.setLt_gs(ltgs); sapRFW.setLt_gs(ltgs);
List<SapRFW.lt_hw> lt_hwList =new ArrayList<>();
SapRFW.lt_hw lthw = sapRFW.new lt_hw();//MES生产订单报工货物移动修改 SapRFW.lt_hw lthw = sapRFW.new lt_hw();//MES生产订单报工货物移动修改
lthw.setEntry_qnt(work.getQuantityFeedback().toString());//TODO; lthw.setEntry_qnt(work.getQuantityFeedback().toString());//TODO;
lthw.setMaterial(work.getProcessCode()); lthw.setMaterial(work.getProcessCode());
sapRFW.setLt_hw(lthw); lt_hwList.add(lthw);
sapRFW.setLt_hwList(lt_hwList);
//添加调用sap日志 //添加调用sap日志
SysSapLog sysSapLog = new SysSapLog(); SysSapLog sysSapLog = new SysSapLog();
sysSapLog.setId(IdUtils.fastSimpleUUID()); sysSapLog.setId(IdUtils.fastSimpleUUID());

@ -244,7 +244,6 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService {
mesPrepare.setStatus("L0");//待确认 mesPrepare.setStatus("L0");//待确认
proOrderWorkorderMapper.createPrepare(mesPrepare); proOrderWorkorderMapper.createPrepare(mesPrepare);
//备(领)料明细 //备(领)料明细
List<MesPrepareDetailDTO> details = new ArrayList<>(); List<MesPrepareDetailDTO> details = new ArrayList<>();
MesPrepareDetailDTO detail = new MesPrepareDetailDTO(); MesPrepareDetailDTO detail = new MesPrepareDetailDTO();
detail.setCreateTime(DateUtils.getNowDate()); detail.setCreateTime(DateUtils.getNowDate());

Loading…
Cancel
Save