feat(入库计划明细实例): 新增 根据入库计划明细ID删除、批量插入入库计划明细实例

This commit is contained in:
LJW 2024-11-08 17:08:52 +08:00
parent 50f96b0bdd
commit 1b79b79082
2 changed files with 21 additions and 0 deletions

View File

@ -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<WmsInPlanDetailEntity> wmsInPlanDetailEntityList);
}

View File

@ -113,6 +113,12 @@
</foreach>
</delete>
<delete id="deleteWmsInPlanDetailEntityByPlanDetailsId" parameterType="Long">
delete
from WMS_IN_PLAN_DETAIL_ENTITY
where PLAN_DETAILS_ID = #{PlanDetailsId}
</delete>
<!--批量插入-->
<insert id="batchWmsInPlanDetailEntity">
insert into WMS_IN_PLAN_DETAIL_ENTITY(