Authored by mali

寄存订单试算

@@ -127,7 +127,7 @@ public class DepositOrderService { @@ -127,7 +127,7 @@ public class DepositOrderService {
127 StorageDeposit storageDeposit = storageDepositMapper.selectByDepositCode(req.getUid(), req.getDepositCode()); 127 StorageDeposit storageDeposit = storageDepositMapper.selectByDepositCode(req.getUid(), req.getDepositCode());
128 if (null == storageDeposit || null == storageDeposit.getSkup() || null == storageDeposit.getOrderCode()) { 128 if (null == storageDeposit || null == storageDeposit.getSkup() || null == storageDeposit.getOrderCode()) {
129 LOG.warn("storageDepositMapper.selectByDepositCode not exist, req is {}", req); 129 LOG.warn("storageDepositMapper.selectByDepositCode not exist, req is {}", req);
130 - throw new UfoServiceException(400, "库存不存在"); 130 + throw new UfoServiceException(400, "在库状态的库存不存在");
131 } 131 }
132 132
133 return storageDeposit; 133 return storageDeposit;