package com.huaheng.pc.config.warehouse.service; import com.alibaba.fastjson.JSONArray; import com.baomidou.mybatisplus.extension.service.IService; import com.huaheng.framework.web.domain.AjaxResult; import com.huaheng.pc.config.address.domain.Address; import com.huaheng.pc.config.warehouse.domain.WarehouseU8; import com.huaheng.pc.config.warehouse.domain.WorkOrderComponent; import java.util.List; import java.util.Map; public interface WarehouseU8Service extends IService<WarehouseU8> { /** * 获取工单集 * @param data 查询条件 * @return * @throws Exception */ AjaxResult GetCurrentStock(WorkOrderComponent data, String type) throws Exception; /** * 获取U8地址 * @return 地址 */ Address getU8Address(); /** * 数据过滤 * @param array 过滤后数据 * @param type 是否查询全部0全部,1查询有值 * @return */ List dataFiltering(JSONArray array, String type); // /** // * 获取U8库存数据 // */ // void getStockcData(); /* //查找同一仓库的u8仓库列表 List<WarehouseU8> selectList(); //通过u8的仓库和货主找到wms仓库 WarehouseU8 selectWarehouseWu(WarehouseU8 warehouseWu); //查找同一仓库同一货主的u8仓库列表 List<WarehouseU8> selectWarehouseList(WarehouseU8 warehouseWu); //通过u8的仓库和货主还有wms仓库查找 WarehouseU8 selectWarehouse(WarehouseU8 warehouseWu); WarehouseU8 selectWarehouseByuC(WarehouseU8 warehouseWu); *//** * 更具货主编码查询U8仓库 * @param * @return U8仓库集合 *//* AjaxResult selectByCompanyCodeList(String companyCode) throws Exception;*/ List<Map<String, Object>> getName(); //查找同一仓库的u8仓库列表 List<WarehouseU8> selectList(); List<WarehouseU8> getByDomain(WarehouseU8 warehouseU8); Map<String, List<WarehouseU8>> getAllWarehouseWu(); public List<WarehouseU8> selectListAndCode(); public WarehouseU8 getWarehouseU8ByUCompanyUWarehouseCode(String uCompanyCode,String uWarehouseCode,String warehouseCode); List<WarehouseU8> findByWareAndCompany(String warehouseCode,String companyCode); }