/* * (non-Javadoc) * <p>Title: getStorageByStorageIds</p> * <p>Description: 通过仓库ID查询仓库</p> * @param storageIds * @return * @see services.IStorageService#getStorageByStorageIds(java.util.List) */ public List<Storage> getStorageByStorageIds(List<Integer> storageIds) { return storageMapper.getStorageByStorageIds(storageIds); }
public void updateStorageParentById(Storage storage) { storageMapper.updateStorageParentById(storage); }
public void deleteStorageParent(Storage storage) { storage.setIparentstorage(StorageService.DEL_STATE); storageMapper.updateStorageParentById(storage); }
/* * 根据仓库名称获取仓库ID * * @see services.IStorageService#getStorageIdByName(java.lang.String) */ public Integer getStorageIdByName(String storageName) { return storageMapper.getStorageIdByStorageName(storageName); }
/* * (non-Javadoc) * * @see services.IStorageService#getNotOverseasStorage() */ public Storage getNotOverseasStorage() { return storageMapper.getNotOverseasStorage(); }
/* * (non-Javadoc) * * @see services.IStorageService#getStorageForStorageId(int) */ public Storage getStorageForStorageId(int iid) { return storageMapper.getStorageForStorageId(iid); }
public int getCountStorages(int parentStorageId) { return storageMapper.getCountStorage(parentStorageId); }
/*@CacheResult("product.badges")*/ public List<Storage> getAllStorages() { return storageMapper.getAllStorageList(); }