增加子项目ID查询字段

This commit is contained in:
think 2025-01-16 09:04:21 +08:00
parent 96036a73d6
commit d791d5e2d2

View File

@ -29,7 +29,7 @@ import org.springframework.util.StringUtils;
public interface PlanMapper extends BaseMapperX<PlanDO> {
default List<PlanDO> searchZXMMx(Long task_id,Long project_id) {
default List<PlanDO> searchZXMMx(Long task_id,Long project_id,Long planSubId) {
MPJLambdaWrapper<PlanDO> query = new MPJLambdaWrapper<>();
query.selectAll(PlanDO.class)
@ -43,7 +43,7 @@ public interface PlanMapper extends BaseMapperX<PlanDO> {
.leftJoin(ProjectOrderSubDO.class, "d", ProjectOrderSubDO::getId, PlanSubDO::getProjectSubId)
.leftJoin(CompositionDO.class, "e", CompositionDO::getId, ProjectOrderSubDO::getCompositionId)
//.leftJoin(MouldTypeDO.class,"f",MouldTypeDO::getId,PlanSubDO::getMouldId)
.eq(PlanSubDO::getId,planSubId)
.eq(PlanDO::getId,task_id)
.eq(PlanDO::getProjectId,project_id);