|
|
@ -427,7 +427,10 @@ public class IZyProductPlanAutoServiceImpl extends ServiceImpl<ZyProductPlanMapp |
|
|
|
@Transactional(rollbackFor = Exception.class, readOnly = false) |
|
|
|
@Transactional(rollbackFor = Exception.class, readOnly = false) |
|
|
|
public void diffWorker(List<ZyPlanProcess> zyPlanProcessList, final String planId) { |
|
|
|
public void diffWorker(List<ZyPlanProcess> zyPlanProcessList, final String planId) { |
|
|
|
ZyProductPlan zyProductPlan = iZyProductPlanService.getById(planId); |
|
|
|
ZyProductPlan zyProductPlan = iZyProductPlanService.getById(planId); |
|
|
|
Groupx groupx = iGroupxService.getOne(new LambdaQueryWrapper<Groupx>().eq(Groupx::getDepartId, zyProductPlan.getWorkshopId())); |
|
|
|
Groupx groupx = iGroupxService.getOne(new LambdaQueryWrapper<Groupx>() |
|
|
|
|
|
|
|
.eq(Groupx::getDepartId, zyProductPlan.getWorkshopId()) |
|
|
|
|
|
|
|
.eq(Groupx::getId, zyProductPlan.getTeamId()) |
|
|
|
|
|
|
|
); |
|
|
|
List<GroupxMember> memberList = iGroupxMemberService.list(new LambdaQueryWrapper<GroupxMember>() |
|
|
|
List<GroupxMember> memberList = iGroupxMemberService.list(new LambdaQueryWrapper<GroupxMember>() |
|
|
|
.eq(GroupxMember::getGroupxId, groupx.getId())); |
|
|
|
.eq(GroupxMember::getGroupxId, groupx.getId())); |
|
|
|
if (ObjectUtils.isEmpty(memberList)) return; |
|
|
|
if (ObjectUtils.isEmpty(memberList)) return; |
|
|
|