|
@@ -1142,7 +1142,7 @@ public class PayOrderLogic {
|
|
|
|
|
|
Integer countWait = workerOrderService.lambdaQuery()
|
|
|
.ge(WorkerOrder::getTotalAmount, workerOrder.getTotalAmount())
|
|
|
- .eq(WorkerOrder::getPayStatus, PayStatusEnum.WAIT.getKey())
|
|
|
+ .in(WorkerOrder::getPayStatus, PayStatusEnum.WAIT.getKey(),PayStatusEnum.PAID.getKey())
|
|
|
.eq(WorkerOrder::getWorkerOrderId, workerOrder.getWorkerOrderId())
|
|
|
.count();
|
|
|
|