Commit de603ae7 authored by wux's avatar wux

海运/空运-出货屏蔽自编号下的所有应收已核销校验 添加注释

parent f20933e7
...@@ -106,10 +106,11 @@ public class BoxSettlementServiceImpl extends AbstractService<BoxSettlementMappe ...@@ -106,10 +106,11 @@ public class BoxSettlementServiceImpl extends AbstractService<BoxSettlementMappe
if(CollectionUtils.isNotEmpty(abnormalList)) { if(CollectionUtils.isNotEmpty(abnormalList)) {
throw new ServiceException(500, "有异常未处理,不能结算"); throw new ServiceException(500, "有异常未处理,不能结算");
} }
long count = boxService.getUnWriteOffCount(shipmentId); // 海运/空运-出货屏蔽自编号下的所有应收已核销校验20241212
if(count > 0) { // long count = boxService.getUnWriteOffCount(shipmentId);
throw new ServiceException(500, "有应收费用未核销,不能结算"); // if(count > 0) {
} // throw new ServiceException(500, "有应收费用未核销,不能结算");
// }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment