package com.jsh.erp.datasource.mappers; import com.jsh.erp.datasource.entities.MaterialCurrentStock; import org.apache.ibatis.annotations.Param; import java.math.BigDecimal; import java.util.List; public interface MaterialCurrentStockMapperEx { int batchInsert(List list); List getCurrentStockMapByIdList( @Param("materialIdList") List materialIdList); void updateUnitPriceByMId( @Param("currentUnitPrice") BigDecimal currentUnitPrice, @Param("materialId") Long materialId); BigDecimal getCurrentUnitPriceByMId(@Param("materialId") Long materialId); void batchDeleteByDepots(@Param("ids") String ids[]); }