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(