diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/service/impl/IZyProductPlanAutoServiceImpl.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/service/impl/IZyProductPlanAutoServiceImpl.java index d2700964..19c3e362 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/service/impl/IZyProductPlanAutoServiceImpl.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/service/impl/IZyProductPlanAutoServiceImpl.java @@ -427,7 +427,10 @@ public class IZyProductPlanAutoServiceImpl extends ServiceImpl zyPlanProcessList, final String planId) { ZyProductPlan zyProductPlan = iZyProductPlanService.getById(planId); - Groupx groupx = iGroupxService.getOne(new LambdaQueryWrapper().eq(Groupx::getDepartId, zyProductPlan.getWorkshopId())); + Groupx groupx = iGroupxService.getOne(new LambdaQueryWrapper() + .eq(Groupx::getDepartId, zyProductPlan.getWorkshopId()) + .eq(Groupx::getId, zyProductPlan.getTeamId()) + ); List memberList = iGroupxMemberService.list(new LambdaQueryWrapper() .eq(GroupxMember::getGroupxId, groupx.getId())); if (ObjectUtils.isEmpty(memberList)) return;