fix(oms) : 运输管理 - 运输业务单 - 反审核订单 : 优化异常提示信息

This commit is contained in:
rcx
2026-08-14 14:49:13 +08:00
parent 6f28cfdda0
commit 5963f6ed3a
@@ -323,7 +323,7 @@ public class BusinessDocumentOrderImpl extends ServiceImpl<BusinessDocumentOrder
.eq(ExecuteOrder::getBusinessDocumentId, id)
.eq(ExecuteOrder::getDelFlag, 1).last("LIMIT 1"));
if (ObjectUtil.isNotNull(existExec)) {
throw new ServiceException("业务单【" + order.getGoodsNumber() + "】已生成执行单,请先取消执行");
throw new ServiceException("业务单【" + order.getGoodsNumber() + "】已生成执行单,无法进行反审核");
}
boolean isMain = order.getSplicingOrderType() != null && order.getSplicingOrderType() == 4L;