Пример #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();
  }