From 0f3324d6be56f3b11fd3f7836f180c91c5ac680a Mon Sep 17 00:00:00 2001 From: liuzhaotian Date: Thu, 16 Jan 2025 12:35:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E5=B0=91=E6=96=B9=E6=B3=95=E8=A1=A5?= =?UTF-8?q?=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../executor/dal/mysql/planitem/PlanItemMapper.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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