package com.bonus.sgzb.base.service.impl;

import com.bonus.sgzb.base.domain.MaHouseShel;
import com.bonus.sgzb.base.mapper.MaHouseShelMapper;
import com.bonus.sgzb.base.service.MaHouseShelService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
* MaHouseShelServiceImpl
* @Author dingjie
* @Date 2023-12-07
**/
@Service
@Transactional(rollbackFor = Exception.class)
public class MaHouseShelServiceImpl implements MaHouseShelService {

    @Resource
    private MaHouseShelMapper houseShelMapper;

    /**
     * 根据查询条件筛选仓库货架
     * @param houseShel 仓库货架信息
     * @return 结果
     */
    @Override
    public List<MaHouseShel> selectHouseShelList(MaHouseShel houseShel) {
        List<MaHouseShel> houseShelList = houseShelMapper.selectHouseShelList(houseShel);

        return null;
    }

    /**
     * 新增仓库货架
     * @param houseShel 仓库货架信息
     * @return 结果
     */
    @Override
    public int insertHouseShel(MaHouseShel houseShel) {
        return 0;
    }
}