修改bug
This commit is contained in:
+2
-1
@@ -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("客户状态非正常,不能更新欠费状态");
|
||||
|
||||
Reference in New Issue
Block a user