|
|
@@ -789,8 +789,6 @@ public class OutboundSaleReturnService extends BaseService<Outbound> {
|
|
|
map.put("delOutDetail", outboundItemResponseList);
|
|
|
inventoryService.operatingInventoryInformation(map);
|
|
|
//endregion
|
|
|
- } else {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.FLG_HANDLE_SETTING_NOT_ENABLED_OUT.getMessage());
|
|
|
}
|
|
|
//endregion
|
|
|
|
|
|
@@ -832,9 +830,7 @@ public class OutboundSaleReturnService extends BaseService<Outbound> {
|
|
|
new UpdateWrapper<Outbound>().lambda().eq(Outbound::getOutId, UUID.fromString(outbound.getOutId()))
|
|
|
);
|
|
|
//endregion
|
|
|
- } else {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.FLG_HANDLE_SETTING_NOT_ENABLED_OUT.getMessage());
|
|
|
- }
|
|
|
+ }
|
|
|
//endregion
|
|
|
|
|
|
return ResponseResultUtil.success();
|