|
|
@@ -334,7 +334,7 @@ public class LawyerConsultationOrderServiceImpl extends ServiceImpl<LawyerConsul
|
|
|
|
|
|
// 检查订单状态:进行中的订单不允许删除
|
|
|
Integer orderStatus = order.getOrderStatus();
|
|
|
- Integer inProgressStatus = LawyerStatusEnum.USED.getStatus(); // 2:进行中
|
|
|
+ Integer inProgressStatus = LawyerStatusEnum.INPROGRESS.getStatus(); // 2:进行中
|
|
|
if (inProgressStatus.equals(orderStatus)) {
|
|
|
log.warn("删除咨询订单失败:订单进行中,不允许删除,订单ID={}, 订单编号={}",
|
|
|
id, order.getOrderNumber());
|