zhoushihao
2025-01-15 9ae0e3d68b255dd6df31ea55d9b6eda1a61708dd
hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/HollowBigStorageCageDetailsService.java
@@ -3,10 +3,7 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.mes.base.entity.vo.BigStorageVO;
import com.mes.hollow.entity.HollowBigStorageCageDetails;
import com.mes.hollow.entity.dto.BigStorageSequenceDTO;
import com.mes.hollow.entity.dto.FlowCardGlassInfoDTO;
import com.mes.hollow.entity.dto.FlowCardVirtualSlotDTO;
import com.mes.hollow.entity.dto.UpdateHollowBigStorageCageDTO;
import com.mes.hollow.entity.dto.*;
import java.util.List;
@@ -30,5 +27,33 @@
    List<HollowBigStorageCageDetails> queryOutGlassList(String flowCardId, int cell);
    List<BigStorageVO> queryHollowbigStorageCageDetail();
    /**
     * 取出每组玻璃占用笼子的格子并计算格子内的最大组序号
     *
     * @param flowCardId
     * @param totalLayer
     * @param layer
     * @param virtualSlot
     * @return
     */
    List<HollowBigStorageCageDetails> querySlotMaxSequence(String flowCardId, Integer totalLayer, Integer layer, Integer virtualSlot);
    List<HollowBigStorageAndDetailsDTO> insertHollowBigStorageCageDetails(HollowBigStorageCageDetails bigStorageCageDetails);
    List<HollowBigStorageAndDetailsDTO> deleteHollowBigStorageCageDetails(String glassId, Integer deviceId, Integer slot);
    List<HollowBigStorageAndDetailsDTO> damageHollowBigStorageCageDetails(String glassId, Integer deviceId, Integer slot, int state);
    void updateDeviceIdBySlot(List<Integer> slotList);
    /**
     * 获取笼子内已配对的玻璃信息
     * @param flowCardId
     * @param totalLayer
     * @param totalPairQuantity
     * @return
     */
    List<HollowBigStorageCageDetails> queryPairGlassList(String flowCardId, Integer totalLayer, Integer totalPairQuantity,Integer isOut);
}