package com.gkhy.safePlatform.equipment.service.baseService; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailBO; import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailInfo; import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailCountDO; import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailInfoDO; import com.gkhy.safePlatform.equipment.model.dto.req.SafeMatetrialDetailQuery; import java.util.List; public interface SafeMaterialDetailInfoService extends IService { Integer getTotalCount(); SafeMaterialDetailInfo queryById(Long id); void updateReceiptStatus(Long id, Byte status); List getListByIds(List ids); void updateReceiptStatusByIds(List ids, Byte irStatus); List getCountGroupBySmId(List ids, Byte irStatus); List getStatisticsValidStock(List smIds); void deleteBatch(Long[] ids); void updateDeliveryStatusByIds(SafeMaterialDetailBO detailBO); void deliveryBatchRandom(SafeMaterialDetailBO detailBO); Integer getValidStockCount(Long smId); List listByPage(Page page, SafeMatetrialDetailQuery query); int getCountBySmIds(List smIds); int getCountBySmId(Long smId); void updateValidStatus(Long id); }