过滤无子表移交单
This commit is contained in:
parent
7d959f71ac
commit
9d7a73d84e
|
|
@ -228,6 +228,9 @@ public class HandOverRule implements IRule<AggWrVO> {
|
|||
for (AggHandTakeVO aggHandTakeVO : aggHandTakeVOS) {
|
||||
// handTakeMaintainService.insert(aggHandTakeVOS.toArray(new AggHandTakeVO[aggHandTakeVOS.size()]));
|
||||
try {
|
||||
if(aggHandTakeVO.getChildrenVO().length == 0){
|
||||
continue;
|
||||
}
|
||||
this.validate(aggHandTakeVO);
|
||||
} catch (ValidationException e) {
|
||||
ExceptionUtils.wrappException(e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue