取消校验
This commit is contained in:
		
							parent
							
								
									adb53b5f12
								
							
						
					
					
						commit
						77d8b631b3
					
				|  | @ -24,17 +24,17 @@ public class XbPushTo45BeforeProcess implements IFilterRule<PurchaseInVO> { | ||||||
|             return retvos; |             return retvos; | ||||||
|         } |         } | ||||||
|         for (PurchaseInVO vo : vos) { |         for (PurchaseInVO vo : vos) { | ||||||
|             if(vo.getHead().getPrimaryKey() == null){ |             // if(vo.getHead().getPrimaryKey() == null){ | ||||||
|                 for (PurchaseInBodyVO body:vo.getBodys()){ |             //     for (PurchaseInBodyVO body:vo.getBodys()){ | ||||||
|                     if(null!=body.getAttributeValue("vbdef33") && body.getNshouldnum().compareTo(new UFDouble(String.valueOf(body.getAttributeValue("vbdef33"))))>0){ |             //         if(null!=body.getAttributeValue("vbdef33") && body.getNshouldnum().compareTo(new UFDouble(String.valueOf(body.getAttributeValue("vbdef33"))))>0){ | ||||||
|                         try { |             //             try { | ||||||
|                             throw new BusinessException("入库数量大于最终需求数量不能生成采购入库!"); |             //                 throw new BusinessException("入库数量大于最终需求数量不能生成采购入库!"); | ||||||
|                         } catch (BusinessException e) { |             //             } catch (BusinessException e) { | ||||||
|                             throw new RuntimeException(e); |             //                 throw new RuntimeException(e); | ||||||
|                         } |             //             } | ||||||
|                     } |             //         } | ||||||
|                 } |             //     } | ||||||
|             } |             // } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         return retvos; |         return retvos; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue