修复折本汇率空值处理问题
This commit is contained in:
		
							parent
							
								
									10de4d755d
								
							
						
					
					
						commit
						c787a28f45
					
				|  | @ -145,6 +145,7 @@ public class APISaleOrderMaitainImpl implements IAPISaleOrderMaitain { | |||
| 
 | ||||
|             //	折本汇率 | ||||
|             UFDouble nexchangerate = childrenVO.getNexchangerate(); | ||||
|             nexchangerate = getUFDouble_NullAsOne(nexchangerate); | ||||
|             // 含税单价 | ||||
|             UFDouble nqtorigtaxprice = childrenVO.getNqtorigtaxprice(); | ||||
|             // 无税单价 | ||||
|  | @ -761,6 +762,7 @@ public class APISaleOrderMaitainImpl implements IAPISaleOrderMaitain { | |||
|                     SaleOrderBVO oneBvo = oldVO.getChildrenVO()[0]; | ||||
|                     // 折本汇率 | ||||
|                     UFDouble nexchangerate = oneBvo.getNexchangerate(); | ||||
|                     nexchangerate = getUFDouble_NullAsOne(nexchangerate); | ||||
|                     List<SaleOrderBVO> newBvoList = listMap.get(csaleorderid); | ||||
|                     if (newBvoList != null && !newBvoList.isEmpty()) { | ||||
|                         // 上边填充默认值的时候取了系统的默认汇率,需要用BIP传的 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue