|
|
@@ -554,7 +554,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -801,7 +801,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -846,7 +846,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -978,7 +978,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -1012,7 +1012,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -1260,7 +1260,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -1336,7 +1336,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -1555,7 +1555,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -1603,7 +1603,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -1829,7 +1829,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -1994,7 +1994,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
@@ -2070,7 +2070,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
int countRow = orderItemMapper.updateById(orderItem);
|
|
|
//数量超出
|
|
|
if (countRow == 0) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.INVENTORY_QUANTITY_EXCEEDED_OUTBOUND.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.UPDATE_ORDER_ERROR.getMessage());
|
|
|
}
|
|
|
}
|
|
|
//endregion
|