AddressService.java 839 Bytes
package com.huaheng.pc.config.address.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.config.address.domain.Address;

public interface AddressService extends IService<Address>{

    String selectAddress(String param, String warehouseCode);

    String selectAddress(String param, String warehouseCode, String area);
    String selectAddress(String param, String warehouseCode, String area,Integer roadway);

    String selectAddress(String param);

    /**
     * 复制地址表
     * @param warehouseCode 原仓库编码
     * @param newWarehouseCode 新仓库编码
     * @return 是否复制成功
     */
    Boolean addressCopy(String warehouseCode, String newWarehouseCode);

    Address getAddressByUrl(String url, String warehouseCode);

    Address selectEntity(Address address);
}