增加子项目ID查询字段
This commit is contained in:
parent
96036a73d6
commit
d791d5e2d2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user