应收账单添加明细报错

This commit is contained in:
秦鸿展
2026-07-17 19:40:49 +08:00
parent a9e3d6cb6b
commit 6f33fc3b64
@@ -675,6 +675,9 @@ public class BillingStatementDomainService {
*/
public List<BillingStatementPO> getBillDetailsList(BillingStatementDO billingStatementDO) {
//查询当前账单的五大信息:组织信息、结算对象、来源系统、收支类型、账单周期
if (billingStatementDO.getBillManageId() == null || billingStatementDO.getBillManageId() <= 0) {
return new ArrayList<>();
}
BillManagePO billManagePO = billManageDomainService.getInfo(billingStatementDO.getBillManageId());
if(null == billManagePO){
throw new ServiceException("账单信息未找到");