‘linchangsheng’ пре 6 дана
родитељ
комит
cb25ed4ec4

+ 1 - 1
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/logic/policy/WorkerLogic.java

@@ -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();