package org.ta.pddserver.service.impl;


import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.ta.pddserver.entity.AreaEntity;
import org.ta.pddserver.entity.ShelvesEntity;
import org.ta.pddserver.mapper.AreaMapper;
import org.ta.pddserver.mapper.ShelvesMapper;
import org.ta.pddserver.model.api.request.AreaListRequest;
import org.ta.pddserver.service.AreaService;
import org.ta.pddserver.service.ShelvesService;
import org.ta.pddserver.utils.JsonResponse;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class ShelvesImpl extends ServiceImpl<ShelvesMapper, ShelvesEntity> implements ShelvesService {

    public ShelvesEntity getUsableOrdered() {
        return this.baseMapper.findUsableOrdered();
    }

    public int updateNum(String level1, int level2, int level3) {
        return this.baseMapper.updateNum(level1, level2, level3);
    }
}