备料计划转出库申请-优化申请数量校验及异常处理
This commit is contained in:
		
							parent
							
								
									c0d300fb62
								
							
						
					
					
						commit
						afc8bff1c4
					
				|  | @ -89,7 +89,7 @@ public class N_4455_WRITE extends AbstractCompiler2 { | ||||||
|                     )); |                     )); | ||||||
|                     UFDouble applyNum1 = applyNum.add(bodyVO.getNassistnum()); |                     UFDouble applyNum1 = applyNum.add(bodyVO.getNassistnum()); | ||||||
|                     if (MathTool.compareTo(plantNum, applyNum1) < 0) { |                     if (MathTool.compareTo(plantNum, applyNum1) < 0) { | ||||||
|                         nccloud.framework.core.exception.ExceptionUtils.wrapBusinessException("申请数量已超出计划数量,请检查!"); |                         throw new BusinessException("申请数量已超出计划数量,请检查!"); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  | @ -112,8 +112,8 @@ public class N_4455_WRITE extends AbstractCompiler2 { | ||||||
| 
 | 
 | ||||||
|                 return retunVos; |                 return retunVos; | ||||||
|             } |             } | ||||||
|         } catch (Exception var8) { |         } catch (Exception e) { | ||||||
|             ExceptionUtils.marsh(var8); |             ExceptionUtils.marsh(e); | ||||||
|             return null; |             return null; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue