修改bug

This commit is contained in:
wuweihua
2026-09-23 16:04:10 +08:00
parent c5c0dfb3e5
commit 20363acefe
@@ -564,7 +564,8 @@ public class PrcOrderBillServiceImpl implements IPrcOrderBillService
{
throw new ServiceException("仅欠费订单可更新为正常");
}
String customerActive = normalizeCustomerActiveStatus(bill.getCustomerActiveStatus());
String customerActive = StringUtils.isEmpty(bill.getCustomerActiveStatus())
? BillCustomerActiveStatus.ACTIVE.getCode() : bill.getCustomerActiveStatus();
if (!BillCustomerActiveStatus.ACTIVE.getCode().equals(customerActive))
{
throw new ServiceException("客户状态非正常,不能更新欠费状态");