示例#1
0
 /*
  * (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);
 }
示例#2
0
 public void updateStorageParentById(Storage storage) {
   storageMapper.updateStorageParentById(storage);
 }
示例#3
0
 public void deleteStorageParent(Storage storage) {
   storage.setIparentstorage(StorageService.DEL_STATE);
   storageMapper.updateStorageParentById(storage);
 }
示例#4
0
 /*
  * 根据仓库名称获取仓库ID
  *
  * @see services.IStorageService#getStorageIdByName(java.lang.String)
  */
 public Integer getStorageIdByName(String storageName) {
   return storageMapper.getStorageIdByStorageName(storageName);
 }
示例#5
0
 /*
  * (non-Javadoc)
  *
  * @see services.IStorageService#getNotOverseasStorage()
  */
 public Storage getNotOverseasStorage() {
   return storageMapper.getNotOverseasStorage();
 }
示例#6
0
 /*
  * (non-Javadoc)
  *
  * @see services.IStorageService#getStorageForStorageId(int)
  */
 public Storage getStorageForStorageId(int iid) {
   return storageMapper.getStorageForStorageId(iid);
 }
示例#7
0
 public int getCountStorages(int parentStorageId) {
   return storageMapper.getCountStorage(parentStorageId);
 }
示例#8
0
  /*@CacheResult("product.badges")*/
  public List<Storage> getAllStorages() {

    return storageMapper.getAllStorageList();
  }