Commit c2bf30d6 authored by 杜科's avatar 杜科

update

parent 9937a7cf
......@@ -574,10 +574,10 @@ public class DxPartService implements RemoteAccess, Serializable {
for(WTPart tempPart : list){
WTPart p2 = PartUtil.getLatestViewPart(tempPart.getNumber(),"Planning");
if(p2==null){
tempPart = (WTPart) ViewHelper.service.newBranchForView(tempPart, "Planning");
tempPart.setContainer(partById.getContainer());
CommonUtil.setFolder("/Default/PBOM/PBOM零部件", partById.getContainerReference(), tempPart);
PersistenceHelper.manager.save(tempPart);
p2 = (WTPart) ViewHelper.service.newBranchForView(tempPart, "Planning");
p2.setContainer(partById.getContainer());
CommonUtil.setFolder("/Default/PBOM/PBOM零部件", tempPart.getContainerReference(), p2);
PersistenceHelper.manager.save(p2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment