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

    return storageMapper.getAllStorageList();
  }