package org.nl.acs.storage_cell.service.mapper;
import org.apache.ibatis.annotations.Param;

import org.apache.ibatis.annotations.Select;
import org.nl.acs.common.base.CommonMapper;
import org.nl.acs.storage_cell.domain.StorageCell;
import org.springframework.stereotype.Repository;

/**
* @author jiaolm
* @date 2023-05-09
*/
@Repository
public interface StorageCellMapper extends CommonMapper<StorageCell> {

    @Select("delete from acs_storage_cell where substring_index( storage_code,'-',1) = #{storage_code}")
    int deleteByStorageCode(@Param("storage_code") String storage_code);


}
