过滤无子表移交单

This commit is contained in:
lihao 2026-01-22 14:09:44 +08:00
parent 7d959f71ac
commit 9d7a73d84e
1 changed files with 3 additions and 0 deletions

View File

@ -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);