fix(oms) : 运输管理 - 运输业务单 - 反审核订单 : 优化异常提示信息
This commit is contained in:
+1
-1
@@ -323,7 +323,7 @@ public class BusinessDocumentOrderImpl extends ServiceImpl<BusinessDocumentOrder
|
|||||||
.eq(ExecuteOrder::getBusinessDocumentId, id)
|
.eq(ExecuteOrder::getBusinessDocumentId, id)
|
||||||
.eq(ExecuteOrder::getDelFlag, 1).last("LIMIT 1"));
|
.eq(ExecuteOrder::getDelFlag, 1).last("LIMIT 1"));
|
||||||
if (ObjectUtil.isNotNull(existExec)) {
|
if (ObjectUtil.isNotNull(existExec)) {
|
||||||
throw new ServiceException("业务单【" + order.getGoodsNumber() + "】已生成执行单,请先取消执行");
|
throw new ServiceException("业务单【" + order.getGoodsNumber() + "】已生成执行单,无法进行反审核");
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean isMain = order.getSplicingOrderType() != null && order.getSplicingOrderType() == 4L;
|
boolean isMain = order.getSplicingOrderType() != null && order.getSplicingOrderType() == 4L;
|
||||||
|
|||||||
Reference in New Issue
Block a user