|
|
|
@ -338,7 +338,8 @@ public class IoAddInoutService {
|
|
|
|
|
IoOrderEntity order = orderService.findByBillNo(orderId);
|
|
|
|
|
BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction(order.getAction());
|
|
|
|
|
if (StrUtil.isBlank(bussinessTypeEntity.getSupplementOrderType())) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.valueOf("此类型单据不可补单"));
|
|
|
|
|
// return ResultVOUtils.error(ResultEnum.valueOf("此类型单据不可补单"));
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.NOT_NETWORK, "此类型单据不可补单");
|
|
|
|
|
}
|
|
|
|
|
IoOrderEntity supplementOrder = new IoOrderEntity();
|
|
|
|
|
BeanUtil.copyProperties(order, supplementOrder);
|
|
|
|
|