Authored by caoyan

寄存

@@ -183,7 +183,7 @@ public class StorageDepositServiceImpl implements IStorageDepositService{ @@ -183,7 +183,7 @@ public class StorageDepositServiceImpl implements IStorageDepositService{
183 183
184 @Override 184 @Override
185 public List<StorageDepositRsp> queryByShelfCode(StorageDepositReq req){ 185 public List<StorageDepositRsp> queryByShelfCode(StorageDepositReq req){
186 - List<StorageDeposit> list = storageDepositMapper.selectByShelfCodeList(Lists.newArrayList(req.getShelfCode()), null); 186 + List<StorageDeposit> list = storageDepositMapper.selectByShelfCodeList(Lists.newArrayList(req.getShelfCode()), req.getStatus());
187 if(CollectionUtils.isEmpty(list)) { 187 if(CollectionUtils.isEmpty(list)) {
188 return Lists.newArrayList(); 188 return Lists.newArrayList();
189 } 189 }