传递类型修改

master
陈翼晖 1 year ago
parent c695e780f5
commit a6c4b2b3a4

@ -214,7 +214,7 @@ public class BomSapWhBjOp extends AbstractAIFOperation {
String serverHostname = session.getServerHostname(); String serverHostname = session.getServerHostname();
String wbsNo = cppRevision.get(0).getLatestItemRevision().getProperty(BomUtilWh.ZT2_WBSNO); String wbsNo = cppRevision.get(0).getLatestItemRevision().getProperty(BomUtilWh.ZT2_WBSNO);
SqlUtil.write(BomUtilWh.detailsSql, new String[] { code, "M060", userName, dataTime, wbsNo, SqlUtil.write(BomUtilWh.detailsSql, new String[] { code, "M060", userName, dataTime, wbsNo,
"", "部件传递", substring, "", serverHostname, userId }); "", "部件", substring, "", serverHostname, userId });
SqlUtil.freeAll(); SqlUtil.freeAll();
List<String> wbsList = new ArrayList<String>(); List<String> wbsList = new ArrayList<String>();

@ -209,7 +209,7 @@ public class BomSendSapController {
String substring = productUidsBuild.toString().substring(0, productUidsBuild.length() - 1); String substring = productUidsBuild.toString().substring(0, productUidsBuild.length() - 1);
String serverHostname = session.getServerHostname(); String serverHostname = session.getServerHostname();
SqlUtil.write(BomUtilWh.detailsSql, new String[] { code, "M060", userName, dataTime, zt2_WBSNo, object_name, SqlUtil.write(BomUtilWh.detailsSql, new String[] { code, "M060", userName, dataTime, zt2_WBSNo, object_name,
"产成品传递", substring, project.getUid(), serverHostname, userId }); "产成品", substring, project.getUid(), serverHostname, userId });
SqlUtil.freeAll(); SqlUtil.freeAll();
// 存在多个产成品时 下面的PBOM是一样的只需要记录一次日志新的 // 存在多个产成品时 下面的PBOM是一样的只需要记录一次日志新的
boolean flag = true; boolean flag = true;

Loading…
Cancel
Save