diff --git a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/planitem/PlanItemMapper.java b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/planitem/PlanItemMapper.java index 38c504871..6f35f220b 100644 --- a/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/planitem/PlanItemMapper.java +++ b/cf-module-prod-executor/cf-module-prod-executor-biz/src/main/java/com/cf/imes/module/executor/dal/mysql/planitem/PlanItemMapper.java @@ -64,4 +64,14 @@ public interface PlanItemMapper extends BaseMapperX { List selectOrderPlanPlateListByPlanId(@Param("planId") Long planId, @Param("organId") Long organId); + + + default List selectIsPlanPlateList(List orderIds, List plateIds,Long organId) { + return selectList( new LambdaQueryWrapperX() + .eq(PlanItemDO::getOrganId, organId) + .inIfPresent(PlanItemDO::getOrderId,orderIds) + .inIfPresent(PlanItemDO::getPlateId,plateIds) + .select(PlanItemDO::getPlanId)); + } + } \ No newline at end of file