From 1b79b7908202cd6ae1eb44fcd821e10fbb5da8fc Mon Sep 17 00:00:00 2001 From: LJW Date: Fri, 8 Nov 2024 17:08:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=85=A5=E5=BA=93=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=AE=9E=E4=BE=8B):=20=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E5=85=A5=E5=BA=93=E8=AE=A1=E5=88=92=E6=98=8E?= =?UTF-8?q?=E7=BB=86ID=E5=88=A0=E9=99=A4=E3=80=81=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=8F=92=E5=85=A5=E5=85=A5=E5=BA=93=E8=AE=A1=E5=88=92=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E5=AE=9E=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wm/mapper/WmsInPlanDetailEntityMapper.java | 15 +++++++++++++++ .../mapper/wm/WmsInPlanDetailEntityMapper.xml | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmsInPlanDetailEntityMapper.java b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmsInPlanDetailEntityMapper.java index 345315a..aba0497 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmsInPlanDetailEntityMapper.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmsInPlanDetailEntityMapper.java @@ -65,4 +65,19 @@ public interface WmsInPlanDetailEntityMapper * @return 结果 */ public int deleteWmsInPlanDetailEntityByIds(Long[] ids); + + /** + * 删除入库计划明细实体 根据入库计划明细ID + * + * @param id 入库计划明细主键 + * @return 结果 + */ + public int deleteWmsInPlanDetailEntityByPlanDetailsId(Long id); + + /** + * 批量插入入库计划明细实例 + * @param wmsInPlanDetailEntityList 入库计划明细实例集合 + * @return 结果 + */ + public int batchWmsInPlanDetailEntity(List wmsInPlanDetailEntityList); } diff --git a/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml b/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml index e542da5..32e445e 100644 --- a/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml +++ b/ktg-mes/src/main/resources/mapper/wm/WmsInPlanDetailEntityMapper.xml @@ -113,6 +113,12 @@ + + delete + from WMS_IN_PLAN_DETAIL_ENTITY + where PLAN_DETAILS_ID = #{PlanDetailsId} + + insert into WMS_IN_PLAN_DETAIL_ENTITY(