|
|
|
@ -513,7 +513,8 @@ public class PoServiceImpl extends ServiceImpl<PoMapper, PurchaseOrder> implemen |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("IFS同步异常,PO号: {}, 错误: {}", inData.getOrderNo(), e.getMessage()); |
|
|
|
// 同步异常需要回滚前面所有的数据库操作 |
|
|
|
throw new XJException("IFS同步异常: " + e.getMessage()); |
|
|
|
String errorMessage = IfsErrorMessageUtils.extractOracleErrorMessage(e.getMessage()); |
|
|
|
throw new XJException("IFS同步异常: " + errorMessage); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|