|
|
|
@ -1677,10 +1677,8 @@ public class MesWorkOrderService implements IMesWorkOrderService {
|
|
|
|
|
|
|
|
|
|
private MesMove createMove(MesPartSap mesPart, MesProductionRecord record, String source, String target, String erpWorkCenterCode, Double qty, Integer moveType,String userName) {
|
|
|
|
|
MesMove move = new MesMove();
|
|
|
|
|
move.setMeins(record.getReportPartNo());
|
|
|
|
|
if (!Objects.isNull(mesPart)) {
|
|
|
|
|
move.setMeins(mesPart.getUnit());
|
|
|
|
|
}
|
|
|
|
|
move.setMatnr(mesPart.getPartNo());
|
|
|
|
|
move.setMeins(mesPart.getUnit());
|
|
|
|
|
move.setOrganizeCode(record.getOrganizeCode());
|
|
|
|
|
move.setFactoryCode(record.getOrganizeCode());
|
|
|
|
|
move.setLgort(source);
|
|
|
|
|