package com.jsh.erp.datasource.mappers; import com.jsh.erp.datasource.entities.DepotItem; import com.jsh.erp.datasource.entities.MaterialExtend; import com.jsh.erp.datasource.vo.MaterialExtendVo4List; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; public interface MaterialExtendMapperEx { /** * 批量删除拓展表 * @param ids 拓展表id数组 */ int batchDeleteMaterialExtendByIds(@Param("ids") String ids[]); List getDetailList( @Param("materialId") Long materialId); Long getMaxTimeByTenantAndTime( @Param("tenantId") Long tenantId, @Param("lastTime") Long lastTime, @Param("syncNum") Long syncNum); /** * 根据商品id数组查询拓展表数据 * @param ids 商品id数组 */ List getListByMId(@Param("ids") Long ids[]); int batchDeleteMaterialExtendByMIds(@Param("ids") String ids[]); int specialUpdatePrice(MaterialExtend record); List getBasicInfoByMid(@Param("materialId") Long materialId); /** * 根据仓库id查询子表数量 * 仓库删除校验 */ int getMaterialExtendCountByDepotIds(@Param("depotIds") String[] depotIds); List getIdsByBarcode(@Param("barCodeList") List barCodeList); }