ZoneService.java 758 Bytes
package com.huaheng.pc.config.zone.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.config.zone.domain.Zone;

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

public interface ZoneService extends IService<Zone>{
    public List<Map<String, Object>> getZoneCodeList();

    /* 复制库区表*/
    boolean zoneCopy(String warehouseCode, String newWarehouseCode);

    boolean exists(String code,String warehouseCode);

    List<Map<String, Object>> getCode();

    Zone getZoneByArea(String area);

    /**
     * 数据校验
     * @param zone 待校验数据
     * @throws Exception 错误提升
     */
    void dataValidation(Zone zone) throws Exception;

    Zone getByArea(String area,String warehouseCode);
}