复核中状态复核可查询;
This commit is contained in:
+2
-2
@@ -687,8 +687,8 @@ public class StockOutOrderDomainService {
|
||||
if (stockOutOrder.getReview() != 1){
|
||||
throw new ServiceException("出库单【" + stockOutOrderDO.getOutOrderNumber() + "】不需要复核");
|
||||
}
|
||||
if (stockOutOrder.getStatus() != 7){
|
||||
throw new ServiceException("出库单【" + stockOutOrderDO.getOutOrderNumber() + "】状态不是拣货完成");
|
||||
if (stockOutOrder.getStatus() != 7 && stockOutOrder.getStatus() != 8){
|
||||
throw new ServiceException("出库单【" + stockOutOrderDO.getOutOrderNumber() + "】状态不是拣货完成或复核中");
|
||||
}
|
||||
StockOutOrderPO stockOutOrderPO = new StockOutOrderPO();
|
||||
BeanUtils.copyProperties(stockOutOrder, stockOutOrderPO);
|
||||
|
||||
Reference in New Issue
Block a user