Compare commits
No commits in common. "59c0dc4fc8ea2b6c829acd97588155fc68bea422" and "2d06bd8fb2c60b4d58ce011349ff2e4d1379b33a" have entirely different histories.
59c0dc4fc8
...
2d06bd8fb2
|
@ -109,17 +109,11 @@ public class PickmToBuyingreqAction implements ICommonAction {
|
|||
PickmItemVO[] items = (PickmItemVO[]) vo.getChildren(PickmItemVO.class);
|
||||
if (items != null) {
|
||||
for (PickmItemVO child : items) {
|
||||
//只合并项目专用料数据
|
||||
if(child.getBprojectmaterial().booleanValue()){
|
||||
mergedChildren.add(child);
|
||||
}
|
||||
// CircularlyAccessibleValueObject 实现了 ISuperVO
|
||||
mergedChildren.add(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
if(mergedChildren.size() == 0){
|
||||
continue;
|
||||
}
|
||||
|
||||
AggPickmVO newVO = new AggPickmVO();
|
||||
newVO.setParent(group.get(0).getParentVO());
|
||||
|
|
|
@ -115,17 +115,11 @@ public class PickmToPmo implements ICommonAction {
|
|||
PickmItemVO[] items = (PickmItemVO[]) vo.getChildren(PickmItemVO.class);
|
||||
if (items != null) {
|
||||
for (PickmItemVO child : items) {
|
||||
//只合并项目专用料数据
|
||||
if(child.getBprojectmaterial().booleanValue()){
|
||||
mergedChildren.add(child);
|
||||
}
|
||||
// CircularlyAccessibleValueObject 实现了 ISuperVO
|
||||
mergedChildren.add(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
if(mergedChildren.size() == 0){
|
||||
continue;
|
||||
}
|
||||
|
||||
AggPickmVO newVO = new AggPickmVO();
|
||||
newVO.setParent(group.get(0).getParentVO());
|
||||
|
|
|
@ -11,8 +11,6 @@ import nc.bs.uapbd.util.MyHelper;
|
|||
import nc.bs.uapbd.util.ThirdPartyPostRequestUtil;
|
||||
import nc.jdbc.framework.processor.MapListProcessor;
|
||||
import nc.jdbc.framework.processor.MapProcessor;
|
||||
import nc.pub.billcode.impl.BillCodeManageImpl;
|
||||
import nc.pub.billcode.itf.IBillcodeManage;
|
||||
import nc.vo.bc.pmpub.project.ProjectHeadVO;
|
||||
import nc.vo.bd.bom.bom0202.entity.BomVO;
|
||||
import nc.vo.bd.material.MaterialVO;
|
||||
|
@ -78,22 +76,19 @@ public class SyncEpicMesUtil {
|
|||
}
|
||||
if ("N".equals(auditCode)) {
|
||||
JSONObject data = buildSyncData(aggVO);
|
||||
// pushData(pmoUrl, data);
|
||||
pushData(pmoUrl, data);
|
||||
} else {
|
||||
JSONObject data = buildSyncData(aggVO);
|
||||
// pushData(pmoUrl, data);
|
||||
pushData(pmoUrl, data);
|
||||
|
||||
JSONObject buildSyncData = buildSyncCodeData(aggVO);
|
||||
jsonArray.add(buildSyncData);
|
||||
}
|
||||
}
|
||||
if (!jsonArray.isEmpty()) {
|
||||
// pushData(codeUrl, jsonArray);
|
||||
pushData(codeUrl, jsonArray);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
logDl.info("生产订单同步到艾普MES系统处理完成。");
|
||||
|
||||
}
|
||||
|
@ -320,9 +315,8 @@ public class SyncEpicMesUtil {
|
|||
for (PMOItemVO item : vo.getChildrenVO()) {
|
||||
HYPubBO hybo = new HYPubBO();
|
||||
Object materialtype = hybo.findColValue("bd_material_v", "materialtype", "pk_source = '" + item.getCmaterialid() + "' ");
|
||||
IBillcodeManage billcodeManage=new BillCodeManageImpl();
|
||||
String code= billcodeManage.getPreBillCode_RequiresNew("xxxxx-code-rule",hvo.getPk_group(),hvo.getPk_org());
|
||||
String detailItem = materialtype + hvo.getDbilldate().toStdString().substring(0, 3) + hvo.getDbilldate().toStdString().substring(5, 6) + code;
|
||||
|
||||
String detailItem = materialtype + hvo.getDbilldate().toStdString().substring(0, 3) + hvo.getDbilldate().toStdString().substring(5, 6) + "0001";
|
||||
jsonArray.add(detailItem);
|
||||
}
|
||||
obj.put("releaseNo", jsonArray);
|
||||
|
|
Loading…
Reference in New Issue