fix(ic):修复启源领料接口空指针异常
This commit is contained in:
		
							parent
							
								
									e71aaf1511
								
							
						
					
					
						commit
						7c09815b56
					
				|  | @ -495,11 +495,14 @@ public class APIMaterialOutMaintainImpl implements IAPIMaterialOutMaintain { | |||
|             for (AggPickmVO newPickmVO : newPickmVOS) { | ||||
|                 PickmItemVO[] pickmItemVOS = (PickmItemVO[]) newPickmVO.getChildren(PickmItemVO.class); | ||||
|                 for (PickmItemVO pickmItemVO : pickmItemVOS) { | ||||
|                     Double nbsetpartsnum = pickmItemVO.getNbsetpartsnum().toDouble(); | ||||
|                     UFDouble nbsetpartsnum1 = pickmItemVO.getNbsetpartsnum(); | ||||
|                     if (nbsetpartsnum1 != null) { | ||||
|                         Double nbsetpartsnum = nbsetpartsnum1.toDouble(); | ||||
|                         sum += nbsetpartsnum; | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         JSONObject result = new JSONObject(); | ||||
|         result.put("vbillcode", paramMap.get("vbillcode"));// 生产订单号 | ||||
|         result.put("outcode", outVOS[0].getHead().getVbillcode());// 材料出库单号 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue