zhangfeng
2022-11-25 f600f38c6c23a282b61ed4db1b2da094d695276f
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/repository/SafeMaterialDetailInfoRepository.java
@@ -2,10 +2,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
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.entity.*;
import com.gkhy.safePlatform.equipment.model.dto.req.SafeMatetrialDetailQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@@ -28,7 +25,7 @@
    List<SafeMaterialDetailCountDO> getStatisticsValidStock(@Param("smIds") List<Long> smIds,@Param("validStatus") Byte validStatus,@Param("irStatus") Byte irStatus);
    void deleteBatch(Long[] ids);
    void deleteBatch(List<Long> ids);
    void updateDeliveryStatusByIds(@Param("detailBO")SafeMaterialDetailBO detailBO);
@@ -43,4 +40,16 @@
    int getCountBySmId(Long smId);
    void updateValidStatus(@Param("id") Long id, @Param("validStatus")Byte validStatus);
    List<Long> getRfidNotNullList(@Param("count") Integer count,@Param("smId")Long smId);
    List<Long> getRfidNullList(@Param("count") Integer count,@Param("smId") Long smId);
    List<Long> getIdListByRfid(Integer count, Long smId, String rfid);
    List<SafeMaterialClassifyStockDO> getSmallClassifyStockByIds(@Param("smallClassifyIds") List<Long> smallClassifyIds);
    List<SafeMaterialDetailDO> getListBySmallClassifyIds(List<Long> smallClassifyIds,@Param("depIds") List<Long> depIds);
    List<SafeMaterialDetailInfoDO> getListByRfids(List<String> rfids);
}