| | |
| | | import com.ruoyi.projectManagement.vo.*; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.jetbrains.annotations.Nullable; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | private final PlanNodeMapper planNodeMapper; |
| | | |
| | | @Lazy |
| | | @Autowired |
| | | private PlanService planService; |
| | | private final PlanService planService; |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | |
| | | } |
| | | |
| | | private List<PlanNode> getPlanNodeByPlanIds(List<Long> planIds) { |
| | | if(CollUtil.isEmpty(planIds)){ |
| | | return Collections.emptyList(); |
| | | } |
| | | return planNodeMapper.selectList(new LambdaQueryWrapper<PlanNode>() |
| | | .eq(PlanNode::getIsDelete, 0) |
| | | .in(PlanNode::getProjectManagementPlanId, planIds).orderByAsc(PlanNode::getSort)); |