优化erp查询异常抛出

This commit is contained in:
liss
2025-10-13 11:52:45 +08:00
parent 0e7bea0e4d
commit b8be2bce92

View File

@@ -87,7 +87,7 @@ public class ErpConfig {
}
} catch (Exception e) {
log.error("调用ERP RFC接口失败: {}", e);
throw exception(ERP_ERROR_EXISTS);
throw exception(ERP_ERROR_EXISTS, e);
}
}