This commit is contained in:
		
							parent
							
								
									5e26717473
								
							
						
					
					
						commit
						a420962c45
					
				|  | @ -115,9 +115,9 @@ public class AfterApproveSyncHighpressureMesRule implements IRule<PMOAggVO> { | |||
| 
 | ||||
|                     itemObj.put("contractNum",contractNum ); // 销售订单号 | ||||
| 
 | ||||
|                     Object cwarehouseid = hybo.findColValue("bd_stordoc", "code", " (pk_stordoc = '" + item.getAttributeValue("vbdef35") + "') "); | ||||
|                     Object cwarehouseid = hybo.findColValue("bd_stordoc", "code", " (pk_stordoc = '" + item.getAttributeValue("vdef31") + "') "); | ||||
| 
 | ||||
|                     itemObj.put("cwarehouseid", cwarehouseid); // ºÏͬ±àºÅ | ||||
|                     itemObj.put("cwarehouseid", cwarehouseid); // ²Ö¿â±àÂë | ||||
|                     Object pk_project = hybo.findColValue("bd_project", "project_name", " pk_project = '" + item.getCprojectid() + "' "); | ||||
| 
 | ||||
|                     itemObj.put("entryName", pk_project); // 项目名称 | ||||
|  | @ -132,10 +132,10 @@ public class AfterApproveSyncHighpressureMesRule implements IRule<PMOAggVO> { | |||
|                     // 日期信息 | ||||
|                     itemObj.put("requiredDate", item.getTrequiredate().toString()); // 需用日期 | ||||
| 
 | ||||
|                     if("55A2".equals(item.getVsrctype())){ | ||||
|                     // if("55A2".equals(item.getVsrctype())){ | ||||
|                         itemObj.put("bipParentProcessProductionOrderId", item.getVparentbillcode()); | ||||
|                         itemObj.put("bipParentProcessProductionOrderRowNum", item.getVparentmorowno()); | ||||
|                     } | ||||
|                     // } | ||||
|                     if("55A2".equals(item.getVfirsttype())){ | ||||
|                         itemObj.put("bipOriginProcessProductionOrderId", item.getVfirstcode()); | ||||
|                         itemObj.put("bipOriginProcessProductionOrderRowNum", item.getVfirstrowno()); | ||||
|  | @ -182,6 +182,9 @@ public class AfterApproveSyncHighpressureMesRule implements IRule<PMOAggVO> { | |||
| 
 | ||||
|                     itemObj.put("contractNum", contractNum); // 合同编号 | ||||
| //                itemObj.put("cwarehouseid", item.getAttributeValue("vbdef35")); // 仓库编号 | ||||
|                     Object cwarehouseid = hybo.findColValue("bd_stordoc", "code", " (pk_stordoc = '" + item.getAttributeValue("vdef31") + "') "); | ||||
| 
 | ||||
|                     itemObj.put("cwarehouseid", cwarehouseid); // ²Ö¿â±àÂë | ||||
|                     Object pk_project = hybo.findColValue("bd_project", "project_name", " pk_project = '" + item.getCprojectid() + "' "); | ||||
| 
 | ||||
|                     itemObj.put("entryName", pk_project); // 项目名称 | ||||
|  | @ -195,10 +198,12 @@ public class AfterApproveSyncHighpressureMesRule implements IRule<PMOAggVO> { | |||
| 
 | ||||
|                     // 日期信息 | ||||
|                     itemObj.put("requiredDate", item.getTrequiredate().toString()); // 需用日期 | ||||
|                     if("55A2".equals(item.getVsrctype())){ | ||||
|                         itemObj.put("bipParentProcessProductionOrderId", item.getVparentbillcode()); | ||||
|                         itemObj.put("bipParentProcessProductionOrderRowNum", item.getVparentmorowno()); | ||||
|                     } | ||||
|                     // if("55A2".equals(item.getVsrctype())){ | ||||
|                     //     itemObj.put("bipParentProcessProductionOrderId", item.getVparentbillcode()); | ||||
|                     //     itemObj.put("bipParentProcessProductionOrderRowNum", item.getVparentmorowno()); | ||||
|                     // } | ||||
|                     itemObj.put("bipParentProcessProductionOrderId", item.getVparentbillcode()); | ||||
|                     itemObj.put("bipParentProcessProductionOrderRowNum", item.getVparentmorowno()); | ||||
|                     if("55A2".equals(item.getVfirsttype())){ | ||||
|                         itemObj.put("bipOriginProcessProductionOrderId", item.getVfirstcode()); | ||||
|                         itemObj.put("bipOriginProcessProductionOrderRowNum", item.getVfirstrowno()); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue