备注字段优化
This commit is contained in:
		
							parent
							
								
									c31deb5755
								
							
						
					
					
						commit
						dd59a09af9
					
				|  | @ -166,7 +166,7 @@ public class QCRptDataPushtoQmsAction implements ICommonAction { | |||
|                 itemObj.put("wlxhgg", materialtype + materialspec); // 物料型号规格 | ||||
|                 itemObj.put("sjsl", reportHeaderVO.getNapplynum().toString()); // 送检数量(设计单位),按设计计量单位统计的送检数量 | ||||
|                 itemObj.put("jldw", cunitname); // 计量单位 | ||||
|                 itemObj.put("bz", reportItemVO.getVbdef1()); // 明细备注,用于填写该送检物料的补充说明 | ||||
|                 itemObj.put("bz",  getBz(bvo,reportItemVO.getCfirstbid())); // 明细备注,用于填写该送检物料的补充说明 | ||||
|                 itemObj.put("bipzyid", pkReportbill); // 质检报告ID | ||||
|                 itemObj.put("bipqdid", reportItemVO.getPk_reportbill_b()); // 质检报告明细ID | ||||
|                 contentArray.add(itemObj); | ||||
|  | @ -178,6 +178,14 @@ public class QCRptDataPushtoQmsAction implements ICommonAction { | |||
|         } | ||||
| 
 | ||||
|     } | ||||
|     private Object getBz(ArriveItemVO[] bvo, String cfirstbid) { | ||||
|         for (ArriveItemVO arriveItemVO : bvo) { | ||||
|             if(arriveItemVO.getPk_arriveorder_b().equals(cfirstbid)) { | ||||
|                 return arriveItemVO.getVmemob(); | ||||
|             } | ||||
|         } | ||||
|         return null; | ||||
|     } | ||||
| 
 | ||||
|     private void updateArrveOrder(String pkArriveorder) throws DAOException { | ||||
|         BaseDAO dao = new BaseDAO(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue