|
@@ -425,7 +425,7 @@ public class WorkerLogic {
|
|
|
List<WorkerPolicy> workerPolicies = workerPolicyService.lambdaQuery()
|
|
|
.eq(WorkerPolicy::getWebsitId, websitId)
|
|
|
.eq(WorkerPolicy::getWebsitUserId, websiUser.getId())
|
|
|
- .eq(WorkerPolicy::getPolicyType, "AC")
|
|
|
+ .eq(WorkerPolicy::getPolicyType, policy.getType())
|
|
|
.orderByDesc(WorkerPolicy::getEndTime)
|
|
|
.list();
|
|
|
|